cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl and cookie with a specific domain name

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 21 Mar 2004 23:02:16 +0100 (CET)

On Sat, 20 Mar 2004, steve wrote:

> This page sets a cookie, Opera is working fine; but curl doesn't accept the
> cookie, I got this:
>
> skipped cookie with illegal dotcount domain: superman< Set Cookie:....

It just means that Opera is not adhering to the specs. curl doesn't either,
but in this case it seems curl is stricter.

> I know that my domain is not compliant, but since Opera is working fine (at
> least), maybe Curl could be forced to accept the cookie (I didn't find any
> option for this). Any idea?

It could be made to do so, yes. It's just a matter of disabling that check in
the cookie code.

Do all the other browser accept that "illegal" cookie domain as well?

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-03-21