From 4f47fc4e14cf6e782bffa8804218acc99828bf42 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 26 Sep 2009 20:51:51 +0000 Subject: - John P. McCaskey posted a bug report that showed how libcurl did wrong when saving received cookies with no given path, if the path in the request had a query part. That is means a question mark (?) and characters on the right side of that. I wrote test case 1105 and fixed this problem. --- tests/data/DISABLED | 2 +- tests/data/test1105 | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/data') diff --git a/tests/data/DISABLED b/tests/data/DISABLED index a7509a9da..e3a9130f6 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -5,4 +5,4 @@ # Lines starting with '#' letters are treated as comments. 563 564 -1105 + diff --git a/tests/data/test1105 b/tests/data/test1105 index e1dbebb6d..1a8f896a7 100644 --- a/tests/data/test1105 +++ b/tests/data/test1105 @@ -55,10 +55,9 @@ userid=myname&password=mypassword # http://curl.haxx.se/rfc/cookie_spec.html # This file was generated by libcurl! Edit at your own risk. -127.0.0.1 FALSE /we/want FALSE 0 foobar name +127.0.0.1 FALSE /we/want/ FALSE 0 foobar name .127.0.0.1 TRUE "/silly/" FALSE 0 mismatch this .0.0.1 TRUE / FALSE 0 partmatch present - -- cgit v1.2.3