History log of /curl/lib/cookie.c (Results 201 – 225 of 299)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 58ebde95 03-Dec-2008 Daniel Stenberg

- Pawel Kierski pointed out a mistake in the cookie code that could lead to a
bad fclose() after a fatal error had occured.
(http://curl.haxx.se/bug/view.cgi?id=2382219)


Revision tags: curl-7_19_2, curl-7_19_1
# b701ea36 23-Oct-2008 Daniel Stenberg

moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
inclusion by the curl tool without colliding with the curl_strequal functions.


# bab51838 23-Oct-2008 Dan Fandrich

Created Curl_raw_nequal() which does a C-locale string case comparison.
Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings th

Created Curl_raw_nequal() which does a C-locale string case comparison.
Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings that are defined to be
independent of case in the C locale. This should fix a few more
Turkish locale problems.

show more ...


# 9d16b408 16-Oct-2008 Daniel Stenberg

Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function
used in strequal.c so now all test cases run fine for me again.


# a579d670 15-Oct-2008 Daniel Stenberg

- Pascal Terjan filed bug #2154627
(http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl
uses strcasecmp() in multiple places where it causes failures when the

- Pascal Terjan filed bug #2154627
(http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl
uses strcasecmp() in multiple places where it causes failures when the
Turkish locale is used. This is because 'i' and 'I' isn't the same letter so
strcasecmp() on those letters are different in Turkish than in English (or
just about all other languages). I thus introduced a totally new internal
function in libcurl (called Curl_ascii_equal) for doing case insentive
comparisons for english-(ascii?) style strings that thus will make "file"
and "FILE" match even if the Turkish locale is selected.

show more ...


# 18be9882 13-Oct-2008 Daniel Stenberg

Removed superfluous check of clist->name, as in this code path that pointer
has already been dereferenced so it is bound to be valid. Pointed out to us
by coverity.com


# f72a26d3 08-Sep-2008 Daniel Stenberg

- Stefan Krause pointed out that libcurl would wrongly send away cookies to
sites in cases where the cookie clearly has a very old expiry date. The
condition was simply that libcurl's dat

- Stefan Krause pointed out that libcurl would wrongly send away cookies to
sites in cases where the cookie clearly has a very old expiry date. The
condition was simply that libcurl's date parser would fail to convert the
date and it would then count as a (timed-based) match. Starting now, a
missed date due to an unsupported date format or date range will now cause
the cookie to not match.

show more ...


# 59e378f4 06-Sep-2008 Yang Tse

remove unnecessary typecasting of malloc()


# a622fd90 06-Sep-2008 Yang Tse

remove unnecessary typecasting of calloc()


Revision tags: curl-7_19_0
# e138ae5e 28-Aug-2008 Daniel Stenberg

- I'm abandoning the system with the web site mirrors (but keeping download
files bing mirrored) and thus I've changed the URL in the cookiejar header
to no longer use curlm.haxx.se but i

- I'm abandoning the system with the web site mirrors (but keeping download
files bing mirrored) and thus I've changed the URL in the cookiejar header
to no longer use curlm.haxx.se but instead use the main site curl.haxx.se

show more ...


# ad638da2 16-Aug-2008 Yang Tse

Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot

Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot handle print formatting string directives
such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
other DOS/Windows compilers.

This reverts previous commit part which did:

FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU

show more ...


# 66fb9ca5 15-Aug-2008 Yang Tse

For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF

For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.

CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T
CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU

Remove the use of an internal name for the curl_off_t formatting string directives
and use the common one available from the inside and outside of the library.

FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU

show more ...


Revision tags: curl-7_18_2, curl-7_18_1
# a62e155c 31-Jan-2008 Daniel Stenberg

- Niklas Angebrand made the cookie support in libcurl properly deal with the
"HttpOnly" feature introduced by Microsoft and apparently also supported by
Firefox: http://msdn2.microsoft.co

- Niklas Angebrand made the cookie support in libcurl properly deal with the
"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.

show more ...


Revision tags: curl-7_18_0
# c914e6ea 23-Jan-2008 Daniel Stenberg

"Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so
did "SESS". Fixed now.


# cbd1a77e 07-Nov-2007 Daniel Stenberg

if () => if()
while () => while()
and some other minor re-indentings


Revision tags: curl-7_17_1, curl-7_17_0
# 1b66c1da 29-Aug-2007 Dan Fandrich

Added lots of consts


Revision tags: curl-7_17_0-preldapfix, curl-7_16_4, curl-7_16_3, curl-7_16_2
# d9e89e17 07-Apr-2007 Yang Tse

fix out of memory handling issue


# 7e74349b 04-Apr-2007 Dan Fandrich

Fixed file handle leak in OOM condition.


# f08ac868 25-Mar-2007 Yang Tse

fix compiler warning


# fbcf86b8 14-Feb-2007 Yang Tse

avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms


# 5c3f36b4 14-Feb-2007 Yang Tse

compiler warning fix


# 6d05a33e 13-Feb-2007 Yang Tse

use our own ISBLANK macro


Revision tags: curl-7_16_1
# 277df1c6 13-Jan-2007 Daniel Stenberg

make Curl_cookie_clearall() survive getting called with a NULL pointer


Revision tags: curl-7_16_0
# 68e9f757 27-Sep-2006 Daniel Stenberg

As reported in bug: #1566077 the former URL mentioned in the generated cookie
jar has died and we now instead point out our own version of that


Revision tags: curl-7_15_6-prepipeline, curl-7_15_5
# 28611704 08-Jul-2006 Daniel Stenberg

Ates Goral pointed out that libcurl's cookie parser did case insensitive
string comparisons on the path which is incorrect and provided a patch that
fixes this. I edited test case 8 to includ

Ates Goral pointed out that libcurl's cookie parser did case insensitive
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.

show more ...


12345678910>>...12