From 755f98e7687a1fc2a7ff363212803b39897897a0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 21 May 2004 20:40:15 +0000 Subject: While talking to host a.b.c, libcurl did wrongly not accept cookies that were set to the domain .a.b.c (that is with a dot prefix). This is now fixed and test case 171 verifies it. --- tests/data/test171 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/data/test171 (limited to 'tests/data/test171') diff --git a/tests/data/test171 b/tests/data/test171 new file mode 100644 index 000000000..9a3519828 --- /dev/null +++ b/tests/data/test171 @@ -0,0 +1,47 @@ +# Server-side + + +HTTP/1.1 200 OK +Date: Tue, 25 Sep 2001 19:37:44 GMT +Content-Type: text/html +Set-Cookie: XToken=xt;Domain=.z.x.com;Path=/ +Cache-control: private +Content-Length: 62 + +This server reply is for testing a simple Location: following + + + +# Client-side + + +http + + +HTTP, get cookies and store in cookie jar + + +-c log/jar171 -x %HOSTIP:%HOSTPORT http://z.x.com/171 + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET http://z.x.com/171 HTTP/1.1 +Host: z.x.com +Pragma: no-cache +Accept: */* + + + +# Netscape HTTP Cookie File +# http://www.netscape.com/newsref/std/cookie_spec.html +# This file was generated by libcurl! Edit at your own risk. + +.z.x.com TRUE / FALSE 0 XToken xt + + -- cgit v1.2.3