Summary

[intarweb] Expires attribute of set-cookie-parser should use rfc1123 dates

Metadata

Description

A comment in header-parsers.scm says:

 ;; We're using http-date-subparser for 'expires' instead of rfc850-subparser
 ;; (which would be the correct thing to do) because several well-known web
 ;; server software packages (tested: PHP and Rails) get it wrong.  So we
 ;; will go by the robustness principle and allow any kind of HTTP date.

But according to RFC6265 (http://tools.ietf.org/html/rfc6265#section-4.1) the Expires attribute should use RFC1123 dates, not RFC850 dates.

So I think (at least) the comment is not correct.

Changes and comments

[2013-11-23 17:55:14 UTC] sjamaan changed status from new to closed

[2013-11-23 17:55:14 UTC] sjamaan set resolution to fixed

[2013-11-23 17:55:14 UTC] sjamaan wrote:

Thanks for pointing out the mistake. I've corrected it to mention RFC1123, instead.