bug#23421: parse-rfc-822-date is too strict

2016-05-08 Thread Ludovic Courtès
Ricardo Wurmus skribis: > The procedure “parse-rfc-822-date” in the module (web http) is a bit too > strict as it rejects dates in which the hour field is a single digit > without zero-padding. > > A date like this will be rejected: > > Sun, 06 Nov 1994 8:49:37 GMT > > Whereas a date like th

bug#23421: parse-rfc-822-date is too strict

2016-05-02 Thread Ricardo Wurmus
The procedure “parse-rfc-822-date” in the module (web http) is a bit too strict as it rejects dates in which the hour field is a single digit without zero-padding. A date like this will be rejected: Sun, 06 Nov 1994 8:49:37 GMT Whereas a date like this is accepted: Sun, 06 Nov 1994 08: