cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Invalid cookie expiry time

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 12 Jan 2007 10:33:36 +0100 (CET)

On Thu, 11 Jan 2007, imran shaik wrote:

> The problem I could see is with the cookie expiry time being set as
> expires=Thursday, 01-Jan-1970 01:00:00 GMT; path=/; secure
> on my i386 machine.

That is not a legal cookie expire date format.

> curl 7.14.0 (i386-pc-solaris2.10) libcurl/7.14.0 OpenSSL/0.9.7g zlib/1.1.4 Protocols: ftp gopher telnet dict ldap http file https ftps

...

> curl 7.9.8 (sparc-sun-solaris2.8) libcurl 7.9.8 (OpenSSL 0.9.6g)

...

> Is this the known problem with curl or could be anything else??

I rewrote the date parser a while ago and between these two versions. The new
one does not support the wide range of formats that the old one did.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-12