curl-users
Re: Bug with IPv6 and cookies
Date: Sun, 11 Sep 2011 22:54:57 +0200 (CEST)
On Sun, 11 Sep 2011, mailsvb wrote:
> when using curl.exe command line tool, I am using --cookie-jar (-c) for
> saving cookie information and --cookie for using them in the next request.
Does the contents of the cookie file look fine after the first invoke? I
especially mean the 'domain/host' part then which should be the ipv6 address.
> The weired thing is: I was able to work around this problem by replacing
> "--cookie-jar" with "--dump-header" and "--cookie" with "-b". I know this
> sounds unbelievable but the combination of "--dump-header" and "-b" instead
> of "--cookie-jar" and "--cookie" seems not to be affected by the issue.
To me it sounds like the --cookie-jar option might produce a broken cookie
file. Or at least a file that curl won't properly read back again.
It is a bit quirky to get a test case for this going, but I'll see if I can
get something up to verify this.
-- / 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.htmlReceived on 2011-09-11