History log of /curl/lib/cookie.c (Results 251 – 275 of 294)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: curl-7_10_5
# 465de793 15-May-2003 Daniel Stenberg

Skip any preceeding dots from the domain name of cookies when we keep them
in memory, only add it when we save the cookie. This makes all tailmatching
and domain string matching internally a

Skip any preceeding dots from the domain name of cookies when we keep them
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.

show more ...


# efd836d9 30-Apr-2003 Daniel Stenberg

Many cookie fixes:
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/

Many cookie fixes:
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.

show more ...


Revision tags: curl-7_10_4
# ad6fca28 31-Mar-2003 Sterling Hughes

testing, ignore this commit


# a7c72b7a 29-Jan-2003 Daniel Stenberg

removed the local variables for emacs and vim, use the new sample.emacs
way for emacs, and vim users should provide a similar non-polluting style


# f26a338a 16-Jan-2003 Daniel Stenberg

copyright year update in the source header


Revision tags: curl-7_10_3, curl-7_10_2
# 01387f42 28-Oct-2002 Daniel Stenberg

kromJx@crosswinds.net's fix that now uses checkprefix() instead of
strnequal() when the third argument was strlen(first argument) anyway.
This makes it less prone to errors. (Slightly edited

kromJx@crosswinds.net's fix that now uses checkprefix() instead of
strnequal() when the third argument was strlen(first argument) anyway.
This makes it less prone to errors. (Slightly edited by me)

show more ...


Revision tags: curl-7_10_1, curl-7_10
# ba4e69be 03-Sep-2002 Daniel Stenberg

updated source code boilerplate/header


# d8b2c819 29-Jul-2002 Daniel Stenberg

properly skip white spaces on Set-Cookie: header lines


Revision tags: curl-7_9_8
# 08ef208f 11-Jun-2002 Daniel Stenberg

added disable-[protocol] support, largely provided by Miklos Nemeth


Revision tags: curl-7_9_7, curl-7_9_7-pre2
# 980a47b4 07-May-2002 Daniel Stenberg

support for ingoring session cookies added


Revision tags: curl-7_9_6
# 2361aabb 14-Apr-2002 Daniel Stenberg

Dirk Manske made libcurl strip off white spaces from the beginning of cookie
contents.


# 541e5a3b 25-Mar-2002 Daniel Stenberg

Jacky Lam cookie parser fix for domains with preceeding dot


# 974f314f 19-Mar-2002 Daniel Stenberg

copyright string (year) update


Revision tags: curl-7_9_5
# 3612c377 27-Feb-2002 Daniel Stenberg

made Max-Age work as defined in the RFC.
my brain damaged fix to not parse spaces as part of the value is now fixed
to instead strip off trailing spaces from values.


# 66b8f48a 26-Feb-2002 Daniel Stenberg

When saving a cookie jar, set field 1 (counted from 0) properly to TRUE if the
domain starts with a dot.


# a23a897a 26-Feb-2002 Daniel Stenberg

removed crash on weird input, this also better discards silly input


Revision tags: curl-7_9_5-pre4, curl-7_9_5-pre2, curl-7_9_4, curl-7_9_3, curl-7_9_3-pre3, curl-7_9_3-pre2, curl-7_9_3-pre1
# 87037136 07-Jan-2002 Daniel Stenberg

As identified in bug report #495290, the last "name=value" pair in a
Set-Cookie: line was ignored if they didn't end with a trailing
semicolon. This is indeed wrong syntax, but there are high

As identified in bug report #495290, the last "name=value" pair in a
Set-Cookie: line was ignored if they didn't end with a trailing
semicolon. This is indeed wrong syntax, but there are high-profile web sites
out there sending cookies like that so we must make a best-effort to parse
them.

show more ...


# d9a77730 07-Jan-2002 Daniel Stenberg

added precautions to not go insane when two matching cookies end up in the
cookie list, even though they're not supposed to do that...


Revision tags: pre-host-cache, curl-7_9_2, curl-7_9_1
# 6d359842 30-Oct-2001 Daniel Stenberg

prevent strdup()ing NULL -- Paul Harrington's report


# c6822f5a 24-Oct-2001 Daniel Stenberg

T. Bharath found this memory leak. It occurs when we replace an internally
already existing cookie with a new one.


# 8e91d5de 11-Oct-2001 Sterling Hughes

looks nicer and is better compatible with older vim versions


# f2a25966 10-Oct-2001 Daniel Stenberg

cookiejar now enables the cookie engine


# e719f416 08-Oct-2001 Daniel Stenberg

corrected cookie-jar comment


# 598e8dfb 26-Sep-2001 Daniel Stenberg

Now we're setting a default domain for received cookies so that we can
properly match those cookies in subsequent requests


Revision tags: curl-7_9, Curl_easy_1-1-8, Curl_easy_1-1-7
# 3f5227df 10-Sep-2001 Daniel Stenberg

Curl_cookie_output() must check that there's a cookie struct present before
trying to address it!


1...<<1112