cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2799456 ] curl_getdate cannot parse Wall Street Journal cookie dates

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 01 Jun 2009 13:20:57 +0000

Bugs item #2799456, was opened at 2009-06-01 15:14
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2799456&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: wrong behaviour
Status: Open
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Anthony de Almeida Lopes (guerrill4)
>Assigned to: Daniel Stenberg (bagder)
Summary: curl_getdate cannot parse Wall Street Journal cookie dates

Initial Comment:
The date in the following cookie cannot be parsed by curl_getdate.

"djcs_route=9270fc86-3226-4036-b4bf-2c716266cead; domain=.wsj.com; path=/; Expires=Thu May 30 07:46:41 2019; max-age=315360000"

Considering that this comes from one of the largest newspapers in the world, maybe we should work around this?

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2009-06-01 15:20

Message:
what libcurl version? How did you come to this conclusion?

I added a cookie with your "Expires=Thu May 30 07:46:41 2019;
max-age=315360000" part to test case 61 and I can see libcurl parse that
just fine.

Max-age does take precedence over expires.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2799456&group_id=976
Received on 2009-06-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET