aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test8
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-10-25 18:15:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-10-25 18:15:14 +0000
commit448d2b5f491067f110e96c4a60342d0c34dd7010 (patch)
treeb54da8c69276d819718665cec680bcc1ee6ef5f4 /tests/data/test8
parent7867d442514ca2da5f33bc928fa37c442085ade3 (diff)
- 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.
Diffstat (limited to 'tests/data/test8')
-rw-r--r--tests/data/test83
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/data/test8 b/tests/data/test8
index 959b8807e..6131894fd 100644
--- a/tests/data/test8
+++ b/tests/data/test8
@@ -41,6 +41,7 @@ Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
Set-Cookie: duplicate=test; domain=.0.0.1; domain=.0.0.1; path=/donkey;
Set-Cookie: cookie=yes; path=/we;
Set-Cookie: nocookie=yes; path=/WE;
+Set-Cookie: blexp=yesyes; domain=.0.0.1; domain=.0.0.1; expiry=totally bad;
</file>
</client>
@@ -54,7 +55,7 @@ Set-Cookie: nocookie=yes; path=/WE;
GET /we/want/8 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
-Cookie: cookie=yes; partmatch=present; foobar=name
+Cookie: blexp=yesyes; cookie=yes; partmatch=present; foobar=name
</protocol>
</verify>