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.
This commit is contained in:
Daniel Stenberg
2006-07-08 18:52:08 +00:00
parent 305dddeab0
commit 28611704d9
4 changed files with 13 additions and 4 deletions

View File

@@ -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>