Bug 10872 - Expires and Last-Modified headers should use two-digit days
Summary: Expires and Last-Modified headers should use two-digit days
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: master
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL: http://trac.nginx.org/nginx/ticket/310
Depends on:
Reported: 2013-03-04 06:11 UTC by Daniel Lo Nigro
Modified: 2013-03-04 11:12 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Daniel Lo Nigro 2013-03-04 06:11:46 UTC
While RFC 822 and RFC 1123 both allow either one- or two-digit days in dates, HTTP only allows two-digit days (see http://tools.ietf.org/html/rfc2616#section-3.3.1)

Mono currently outputs dates in this format:
Sun, 3 Mar 2014 13:22:27 GMT

When they should be in this format:
Sun, 03 Mar 2014 13:22:27 GMT

I've fixed this and will submit the fix via Github; this bug is just for tracking purposes.
Comment 1 Daniel Lo Nigro 2013-03-04 06:50:06 UTC
Pull request submitted: https://github.com/mono/mono/pull/588
Comment 2 Miguel de Icaza [MSFT] 2013-03-04 11:12:39 UTC

Note You need to log in before you can comment on or make changes to this bug.