Daniel Stenberg
87037136ef
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.
2002-01-07 23:05:36 +00:00
Daniel Stenberg
d9a7773011
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...
2002-01-07 14:56:15 +00:00
Daniel Stenberg
6d35984286
prevent strdup()ing NULL -- Paul Harrington's report
2001-10-30 12:08:17 +00:00
Daniel Stenberg
c6822f5a7f
T. Bharath found this memory leak. It occurs when we replace an internally
...
already existing cookie with a new one.
2001-10-24 11:36:55 +00:00
Sterling Hughes
8e91d5de8e
looks nicer and is better compatible with older vim versions
2001-10-11 09:32:19 +00:00
Daniel Stenberg
f2a25966cf
cookiejar now enables the cookie engine
2001-10-10 12:48:32 +00:00
Daniel Stenberg
e719f4169c
corrected cookie-jar comment
2001-10-08 06:43:22 +00:00
Daniel Stenberg
598e8dfbfb
Now we're setting a default domain for received cookies so that we can
...
properly match those cookies in subsequent requests
2001-09-26 07:08:29 +00:00
Daniel Stenberg
3f5227dfc7
Curl_cookie_output() must check that there's a cookie struct present before
...
trying to address it!
2001-09-10 07:43:08 +00:00
Sterling Hughes
6147879837
Added formatting sections for emacs and vim
2001-09-07 04:01:32 +00:00
Daniel Stenberg
a2b6ef3478
cookie jar adjustments
2001-08-29 09:32:18 +00:00
Daniel Stenberg
9e5dfc15ac
improved the test
2001-08-26 14:28:05 +00:00
Daniel Stenberg
c9c2115088
started working on a function for writing (all) cookies, made it possible
...
to read multiple cookie files, no longer writes to the URL string passed
to the _add() function. The new stuff is now conditionally compiled on the
COOKIE define. Changed the _init() proto.
2001-08-23 14:05:25 +00:00
Daniel Stenberg
c8926138d1
commented out empty else blocks to shut up pedantic compilers
2001-08-14 08:17:29 +00:00
Daniel Stenberg
870bacd689
include strtok.h to get the prototype
2001-05-30 11:06:56 +00:00
Daniel Stenberg
d567659bf4
strtok() replaced with strtok_r()
2001-05-29 19:17:39 +00:00
Daniel Stenberg
72dec6cfec
Added Andres' comments about field 2 in netscape cookie files
2001-05-23 13:04:19 +00:00
Daniel Stenberg
8dc9f4330c
Andrés García's netscape cookie file parser fix
2001-05-23 09:26:45 +00:00
Daniel Stenberg
4031104404
Internal symbols that aren't static are now prefixed with 'Curl_'
2001-01-05 10:11:41 +00:00
Daniel Stenberg
24dee483e9
dual-license fix
2001-01-03 09:29:33 +00:00
Daniel Stenberg
78423c5899
Venkataramana Mokkapati corrected a cookie parser bug
2000-11-10 08:10:04 +00:00
Daniel Stenberg
0f8facb49b
added memory debugging include file
2000-10-09 11:12:34 +00:00
Daniel Stenberg
28ad7dc4a1
a single cookie does not require a trailing semicolon anymore
2000-09-25 22:14:42 +00:00
Daniel Stenberg
b6e18f2f66
#include "setup.h" moved first of all includes
2000-08-24 14:26:33 +00:00
Daniel Stenberg
96dde76b99
moved here from the newlib branch
2000-05-22 14:12:12 +00:00
Daniel Stenberg
9280c208d3
* Made '-' as file name to read cookies from equal stdin.
...
* I hope I finally removed 'empty cookies' crash
2000-02-10 23:14:53 +00:00
Daniel Stenberg
c6a8bb3d56
Added some RFC2109 support
2000-02-01 23:54:51 +00:00
Daniel Stenberg
ae1912cb0d
Initial revision
1999-12-29 14:20:26 +00:00