From 28611704d991dcc0358705937af83d291b7e1f30 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 8 Jul 2006 18:52:08 +0000 Subject: 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. --- tests/data/test8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/data') 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; @@ -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 -- cgit v1.2.3