cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Cookie paths when the query includes /

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 21 Sep 2009 00:10:38 +0200 (CEST)

On Sun, 20 Sep 2009, John P. McCaskey wrote:

> The Set-Cookie header does not include a path, so the default must be used.
> My browser takes the path up to the last / before the ?. CURL, however, uses
> the path up to the last / of the query string. So the wrong path gets
> recorded in the cookies file and CURL fails to return a cookie the server is
> expecting.

Is this really a recent curl version? It sounds like a bug we fixed ages ago.

If it is 7.19.6 or so, can you show us more exactly what you do and what you
get etc?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-09-21