|
|
| Author |
Message |
|
| Guest |
Posted: Thu Apr 29, 2010 3:01 pm |
|
|
|
Guest
|
Hi again,
Yet another patch proposal to properly decode cookies
This time, the faulty header is
{"set-cookie", "NSC_MC_QH_MFP=e242089229a0;expires=Thu, 29-Apr-10
14:53:38 GMT;path=/"}]}
When trying to decode the date, there is a brutal function clause in
http_util:convert_netscapecookie_date/1 (reason: the year has two digits,
the code expects four)
The patch proposal is attached.
Best regards,
-- Nicolas
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Apr 29, 2010 3:01 pm |
|
|
|
Guest
|
Hi again,
Yet another patch proposal to properly decode cookies
This time, the faulty header is
{"set-cookie", "NSC_MC_QH_MFP=e242089229a0;expires=Thu, 29-Apr-10
14:53:38 GMT;path=/"}]}
When trying to decode the date, there is a brutal function clause in
http_util:convert_netscapecookie_date/1 (reason: the year has two digits,
the code expects four)
The patch proposal is attached.
Best regards,
-- Nicolas
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|