cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Cookie paths when the query includes /

From: John P. McCaskey <mailbox_at_johnmccaskey.com>
Date: Sun, 20 Sep 2009 15:22:10 -0700

It's 7.19.5.

Can I send you the details by private email?

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Sunday, September 20, 2009 3:11 PM
To: the curl tool
Subject: Re: Cookie paths when the query includes /

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
-------------------------------------------------------------------
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