cookies: follow-up fix for path checking
The initial fix to only compare full path names were done in commit
04f52e9b4d but found out to be incomplete. This takes should make the
change more complete and there's now two additional tests to verify
(test 31 and 62).
This commit is contained in:
committed by
Daniel Stenberg
parent
9e10963c20
commit
f24dc09d20
@@ -29,7 +29,7 @@ http
|
||||
HTTP, send cookies when using custom Host:
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/we/want/62 -b log/jar62.txt -H "Host: www.host.foo.com"
|
||||
http://%HOSTIP:%HTTPPORT/we/want/62 http://%HOSTIP:%HTTPPORT/we/want?hoge=fuga -b log/jar62.txt -H "Host: www.host.foo.com"
|
||||
</command>
|
||||
<file name="log/jar62.txt">
|
||||
# Netscape HTTP Cookie File
|
||||
@@ -55,6 +55,11 @@ Accept: */*
|
||||
Cookie: test2=yes; test=yes
|
||||
Host: www.host.foo.com
|
||||
|
||||
GET /we/want?hoge=fuga HTTP/1.1
|
||||
Accept: */*
|
||||
Cookie: test2=yes; test=yes
|
||||
Host: www.host.foo.com
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
||||
Reference in New Issue
Block a user