cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Cookie paths when the query includes /

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 Sep 2009 23:04:23 +0200 (CEST)

On Mon, 21 Sep 2009, John P. McCaskey wrote:

> But when I try (1) with this CURL command line,
>
> I get back (2) OK, but testcookie's path in cookies.txt gets set to
> /abc/doit.jsp?setCookie=1&parm1=this*that/other/ instead of just /abc/.

Great explanation, thanks!

I've even managed to write a test case for curl's test suite that repeats the
problem. See attached file. I'll work on a fix.

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2009-09-24