Nicolas Thauvin <>
Thu Apr 29 17:00:29 CEST 2010

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: http_util.patch
Type: application/octet-stream
Size: 540 bytes
Desc: not available
URL: <>

More information about the erlang-patches mailing list