summaryrefslogtreecommitdiff
path: root/tests/data/test62
diff options
context:
space:
mode:
authorYAMADA Yasuharu <yasuharu.yamada@access-company.com>2013-06-12 11:19:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-06-12 11:19:56 +0200
commitf24dc09d209a2f91ca38d854f0c15ad93f3d7e2d (patch)
tree57921a2f3f0a6c02aa4bfdd0edc32663b0b1fbcc /tests/data/test62
parent9e10963c207b43e57d0898b924f9e661385db40f (diff)
downloadcurl-f24dc09d209a2f91ca38d854f0c15ad93f3d7e2d.tar.gz
cookies: follow-up fix for path checking
The initial fix to only compare full path names were done in commit 04f52e9b4db0 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).
Diffstat (limited to 'tests/data/test62')
-rw-r--r--tests/data/test627
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/data/test62 b/tests/data/test62
index 19886066f..2e5d1db03 100644
--- a/tests/data/test62
+++ b/tests/data/test62
@@ -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>