This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 10872 - Expires and Last-Modified headers should use two-digit days
: Expires and Last-Modified headers should use two-digit days
Status: RESOLVED FIXED
Product: Class Libraries
Classification: Mono
Component: Sys.Web
: Trunk
: All All
: --- normal
: ---
Assigned To: Bugzilla
: http://trac.nginx.org/nginx/ticket/310
:
:
:
  Show dependency treegraph
 
Reported: 2013-03-04 06:11 EST by Daniel Lo Nigro
Modified: 2013-03-04 11:12 EST (History)
2 users (show)

See Also:
Tags:
Test Case URL:
External Submit: ---


Attachments

Description Daniel Lo Nigro 2013-03-04 06:11:46 EST
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 EST
Pull request submitted: https://github.com/mono/mono/pull/588
Comment 2 Miguel de Icaza 2013-03-04 11:12:39 EST
Applied

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