aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test8
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-07-08 18:52:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-07-08 18:52:08 +0000
commit28611704d991dcc0358705937af83d291b7e1f30 (patch)
tree2c2206a83e6d5ba69d424a0d1da3ff9761e0ccfd /tests/data/test8
parent305dddeab0ee21f43d6c9184638e40b84a8dea67 (diff)
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.
Diffstat (limited to 'tests/data/test8')
-rw-r--r--tests/data/test84
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/data/test8 b/tests/data/test8
index 683899ae1..50c5d4f2b 100644
--- a/tests/data/test8
+++ b/tests/data/test8
@@ -37,6 +37,8 @@ Funny-head: yesyes
Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
+Set-Cookie: cookie=yes; path=/we;
+Set-Cookie: nocookie=yes; path=/WE;
</file>
</client>
@@ -50,7 +52,7 @@ Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
GET /we/want/8 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT
Accept: */*
-Cookie: partmatch=present; foobar=name
+Cookie: cookie=yes; partmatch=present; foobar=name
</protocol>
</verify>