Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-31 | - Niklas Angebrand made the cookie support in libcurl properly deal with the | Daniel Stenberg | |
"HttpOnly" feature introduced by Microsoft and apparently also supported by Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly is now supported when received from servers in HTTP headers, when written to cookie jars and when read from existing cookie jars. | |||
2008-01-23 | "Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so | Daniel Stenberg | |
did "SESS". Fixed now. | |||
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-08-29 | Added lots of consts | Dan Fandrich | |
2007-04-07 | fix out of memory handling issue | Yang Tse | |
2007-04-04 | Fixed file handle leak in OOM condition. | Dan Fandrich | |
2007-03-25 | fix compiler warning | Yang Tse | |
2007-02-14 | avoid using funtion isblank() and just use our ISBLANK | Yang Tse | |
macro to provide this functionality on all platforms | |||
2007-02-14 | compiler warning fix | Yang Tse | |
2007-02-13 | use our own ISBLANK macro | Yang Tse | |
2007-01-13 | make Curl_cookie_clearall() survive getting called with a NULL pointer | Daniel Stenberg | |
2006-09-27 | As reported in bug: #1566077 the former URL mentioned in the generated cookie | Daniel Stenberg | |
jar has died and we now instead point out our own version of that | |||
2006-07-08 | Ates Goral pointed out that libcurl's cookie parser did case insensitive | Daniel Stenberg | |
string comparisons on the path which is incorrect and provided a patch that fixes this. I edited test case 8 to include details that test for this. | |||
2006-05-24 | Michael Wallner provided a patch that allows "SESS" to be set with | Daniel Stenberg | |
CURLOPT_COOKIELIST, which then makes all session cookies get cleared. (slightly edited by me, and the re-indent in cookie.c was also done by me) | |||
2005-08-17 | remove the typecast to long from time_t, since we now store it as curl_off_t | Daniel Stenberg | |
2005-08-17 | - Jeff Pohlmeyer found out that if you ask libcurl to load a cookiefile (with | Daniel Stenberg | |
CURLOPT_COOKIEFILE), add a cookie (with CURLOPT_COOKIELIST), tell it to write the result to a given cookie jar and then never actually call curl_easy_perform() - the given file(s) to read was never read but the output file was written and thus it caused a "funny" result. - While doing some tests for the bug above, I noticed that Firefox generates large numbers (for the expire time) in the cookies.txt file and libcurl didn't treat them properly. Now it does. | |||
2005-07-28 | curl standard indent/format | Daniel Stenberg | |
2005-07-27 | Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a | Daniel Stenberg | |
simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code. | |||
2005-04-26 | Cory Nelson's work on nuking compiler warnings when building on x64 with | Daniel Stenberg | |
VS2005. | |||
2005-03-31 | Updated the copyright year since changes have been this year. | Daniel Stenberg | |
2005-03-04 | Dave Dribin made it possible to set CURLOPT_COOKIEFILE to "" to activate | Daniel Stenberg | |
the cookie "engine" without having to provide an empty or non-existing file. | |||
2004-12-22 | Rune Kleveland fixed a minor memory leak for received cookies with the (rare) | Daniel Stenberg | |
version attribute set. | |||
2004-12-05 | Dan Fandrich added the --disable-cookies option to configure to build | Daniel Stenberg | |
libcurl without cookie support. This is mainly useful if you want to build a minimalistic libcurl with no cookies support at all. Like for embedded systems or similar. | |||
2004-10-16 | libcurl leaked memory for cookies with the "max-age" field set. | Daniel Stenberg | |
2004-10-06 | removed tabs and trailing whitespace from source | Daniel Stenberg | |
2004-10-03 | Replaced the use of isspace() with our own version instead since we have most | Daniel Stenberg | |
data as 'char *' and that makes us pass in negative values if there is 8bit data in the string. Changing to unsigned causes too much warnings or too many required typecasts to the normal string functions. | |||
2004-09-13 | getdate.h is not required to include, it adds nothing new | Daniel Stenberg | |
2004-08-04 | Dylan Salisbury's fix to prevent us from accepting cookies from TLD only | Daniel Stenberg | |
2004-07-26 | Bertrand Demiddelaer fixed two missing newlines | Daniel Stenberg | |
2004-06-30 | 5K array on the stack is a big hefty, it is now allocated with malloc | Daniel Stenberg | |
instead | |||
2004-06-22 | David Cohen pointed out that RFC2109 says clients should allow cookies to | Daniel Stenberg | |
contain least 4096 bytes while libcurl only allowed 2047. I raised the limit to 4999 now and made the used buffer get malloc()ed instead of simply allocated on stack as before. | |||
2004-05-21 | While talking to host a.b.c, libcurl did wrongly not accept cookies that were | Daniel Stenberg | |
set to the domain .a.b.c (that is with a dot prefix). This is now fixed and test case 171 verifies it. | |||
2004-05-12 | general cleanup to bail out nice and clean when a memory function fails | Daniel Stenberg | |
to deliver | |||
2004-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2004-05-10 | if a malloc fails, clear up the memory and return failure | Daniel Stenberg | |
2004-03-10 | strequal() returns int so we typecast the return to bool when we store the | Daniel Stenberg | |
result as bool | |||
2004-02-26 | use calloc instead of malloc and we won't have to memset() the struct | Daniel Stenberg | |
2004-02-26 | Clear up int/long/size_t/ssize_t usage a bit | Daniel Stenberg | |
2004-01-29 | Dan Fandrich's cleanup patch to make pedantic compiler options cause less | Daniel Stenberg | |
warnings. Minor edits by me. | |||
2004-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-08-11 | Added some infof() calls, that require the data pointer so now several | Daniel Stenberg | |
cookie functions need that. I also fixed the cookie loader to properly load and deal with cookies without contents (or rather with a blank content). | |||
2003-08-04 | Jan Sundin reported a case where curl ignored a cookie that browsers don't, | Daniel Stenberg | |
which turned up to be due to the number of dots in the 'domain'. I've now made curl follow the the original netscape cookie spec less strict on that part. | |||
2003-06-26 | use CURLDEBUG instead of MALLOCDEBUG | Daniel Stenberg | |
2003-05-15 | Skip any preceeding dots from the domain name of cookies when we keep them | Daniel Stenberg | |
in memory, only add it when we save the cookie. This makes all tailmatching and domain string matching internally a lot easier. This was also the reason for a remaining bug I introduced in my overhaul. | |||
2003-04-30 | Many cookie fixes: | Daniel Stenberg | |
o Save domains in jars like Mozilla does. It means all domains set in Set-Cookie: headers are dot-prefixed. o Save and use the 'tailmatch' field in the Mozilla/Netscape cookie jars (the second column). o Reject cookies using illegal domains in the Set-Cookie: line. Concerns both domains with too few dots or domains that are outside the currently operating server host's domain. o Set the path part by default to the one used in the request, if none was set in the Set-Cookie line. | |||
2003-03-31 | testing, ignore this commit | Sterling Hughes | |
2003-01-29 | removed the local variables for emacs and vim, use the new sample.emacs | Daniel Stenberg | |
way for emacs, and vim users should provide a similar non-polluting style | |||
2003-01-16 | copyright year update in the source header | Daniel Stenberg | |
2002-10-28 | kromJx@crosswinds.net's fix that now uses checkprefix() instead of | Daniel Stenberg | |
strnequal() when the third argument was strlen(first argument) anyway. This makes it less prone to errors. (Slightly edited by me) | |||
2002-09-03 | updated source code boilerplate/header | Daniel Stenberg | |