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: Tue, 02 Jun 2009 21:30:12 +0000

Bugs item #2799456, was opened at 2009-06-01 15:14
Message generated for change (Comment added) 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: http
Group: wrong behaviour
>Status: Pending
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-02 23:30

Message:
Thanks for reporting this issue and helping us improve curl and libcurl.

We're awaiting feedback in this issue. Due to this, I have set the state
of this issue to pending and it will automatically get closed later on
unless we get further info.

Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET