#
889d1e97 |
| 22-Apr-2011 |
Daniel Stenberg |
whitespace cleanup: no space first in conditionals "if(a)" is our style, not "if( a )"
|
Revision tags: curl-7_21_6 |
|
#
b903186f |
| 20-Apr-2011 |
Daniel Stenberg |
source cleanup: unify look, style and indent levels By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
|
#
1702a2c0 |
| 19-Apr-2011 |
Fabian Keil |
Fix a couple of spelling errors in lib/ Found with codespell.
|
Revision tags: curl-7_21_5 |
|
#
9d1e914a |
| 04-Apr-2011 |
Daniel Stenberg |
disable cookies: remove ifdefs, move code 1 - make sure to #define macros for cookie functions in the cookie header when cookies are disabled to avoid having to use #ifdefs in code u
disable cookies: remove ifdefs, move code 1 - make sure to #define macros for cookie functions in the cookie header when cookies are disabled to avoid having to use #ifdefs in code using those functions. 2 - move cookie-specific code to cookie.c and use the functio conditionally as mentioned in (1). net result: 6 #if lines removed, and 9 lines of code less
show more ...
|
Revision tags: curl-7_21_4 |
|
#
49465fff |
| 23-Dec-2010 |
Daniel Stenberg |
cookies: tricked dotcounter fixed Providing multiple dots in a series in the domain field (domain=..com) could trick the cookie engine to wrongly accept the cookie believing it to be
cookies: tricked dotcounter fixed Providing multiple dots in a series in the domain field (domain=..com) could trick the cookie engine to wrongly accept the cookie believing it to be fine. Since the tailmatching would then match all .com sites, the cookie would then be sent to all of them. The code now requires at least one letter between each dot for them to be counted. Edited test case 61 to verify this.
show more ...
|
Revision tags: curl-7_21_3 |
|
#
5db0a412 |
| 28-Nov-2010 |
Yang Tse |
atoi: remove atoi usage
|
Revision tags: curl-7_21_2, curl-7_21_1, curl-7_21_0, curl-7_20_1 |
|
#
2309b4e3 |
| 24-Mar-2010 |
Daniel Stenberg |
remove the CVSish $Id$ lines
|
#
87428e07 |
| 26-Feb-2010 |
Yang Tse |
fix compiler warning
|
Revision tags: curl-7_20_0 |
|
#
d65cf788 |
| 28-Jan-2010 |
Yang Tse |
fix printf-style format strings
|
#
bbefdf88 |
| 27-Jan-2010 |
Yang Tse |
fix compiler warning
|
#
877dad1e |
| 19-Jan-2010 |
Daniel Stenberg |
- As was pointed out on the http-state mailing list, the order of cookies in a HTTP Cookie: header _needs_ to be sorted on the path length in the cases where two cookies using the same na
- As was pointed out on the http-state mailing list, the order of cookies in a HTTP Cookie: header _needs_ to be sorted on the path length in the cases where two cookies using the same name are set more than once using (overlapping) paths. Realizing this, identically named cookies must be sorted correctly. But detecting only identically named cookies and take care of them individually is harder than just to blindly and unconditionally sort all cookies based on their path lengths. All major browsers also already do this, so this makes our behavior one step closer to them in the cookie area. Test case 8 was the only one that broke due to this change and I updated it accordingly.
show more ...
|
#
240fa29e |
| 19-Dec-2009 |
Daniel Stenberg |
fixed a precaution check in the cookie code, pointed out by Julien Chaffraix
|
#
59939313 |
| 18-Nov-2009 |
Yang Tse |
Make usage of calloc()'s arguments consistent with rest of code base
|
Revision tags: curl-7_19_7 |
|
#
448d2b5f |
| 25-Oct-2009 |
Daniel Stenberg |
- Dima Barsky made the curl cookie parser accept cookies even with blank or unparsable expiry dates and then treat them as session cookies - previously libcurl would reject cookies with a
- Dima Barsky made the curl cookie parser accept cookies even with blank or unparsable expiry dates and then treat them as session cookies - previously libcurl would reject cookies with a date format it couldn't parse. Research shows that the major browser treat such cookies as session cookies. I modified test 8 and 31 to verify this.
show more ...
|
#
5b11e388 |
| 28-Sep-2009 |
Yang Tse |
fix compiler warning: conversion from "long" to "size_t" may lose sign
|
#
7d22ce55 |
| 28-Sep-2009 |
Yang Tse |
libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h
|
#
4f47fc4e |
| 26-Sep-2009 |
Daniel Stenberg |
- John P. McCaskey posted a bug report that showed how libcurl did wrong when saving received cookies with no given path, if the path in the request had a query part. That is means a ques
- John P. McCaskey posted a bug report that showed how libcurl did wrong when saving received cookies with no given path, if the path in the request had a query part. That is means a question mark (?) and characters on the right side of that. I wrote test case 1105 and fixed this problem.
show more ...
|
#
af9ce990 |
| 25-Sep-2009 |
Daniel Stenberg |
minor whitespace edit
|
#
7ff4b4f2 |
| 10-Sep-2009 |
Daniel Stenberg |
- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epoch start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 which internally then is treate
- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epoch start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 which internally then is treated as a session cookie. That particular date is now made to get the value of 1.
show more ...
|
Revision tags: curl-7_19_6 |
|
#
5931cf77 |
| 15-Jun-2009 |
Yang Tse |
DEBUGBUILD / CURLDEBUG decoupling follow-up
|
#
35217709 |
| 10-Jun-2009 |
Daniel Stenberg |
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and contributed a range of patches to fix them.
|
#
1cf6c15a |
| 25-May-2009 |
Daniel Stenberg |
- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed out that the cookie parser would leak memory when it parses cookies that are received with domain, path etc set
- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed out that the cookie parser would leak memory when it parses cookies that are received with domain, path etc set multiple times in the same header. While such a cookie is questionable, they occur in the wild and libcurl no longer leaks memory for them. I added such a header to test case 8.
show more ...
|
Revision tags: curl-7_19_5 |
|
#
33a3753c |
| 21-Apr-2009 |
Yang Tse |
libcurl's memory.h renamed to curl_memory.h
|
Revision tags: curl-7_19_4, curl-7_19_3 |
|
#
5e74c58b |
| 15-Jan-2009 |
Daniel Stenberg |
- Tim Ansell fixed a compiler warning in lib/cookie.c
|
#
a19e02be |
| 13-Jan-2009 |
Daniel Stenberg |
- Michael Wallner fixed a NULL pointer deref when calling curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no cookies data.
|