[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23421: parse-rfc-822-date is too strict
From: |
Ludovic Courtès |
Subject: |
bug#23421: parse-rfc-822-date is too strict |
Date: |
Sun, 08 May 2016 22:02:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ricardo Wurmus <address@hidden> 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 this is accepted:
>
> Sun, 06 Nov 1994 08:49:37 GMT
>
> The only difference is the leading zero in the timestamp.
Fixed in 16050431f29d56f80c4a8253506fc851b8441840, thanks!
Ludo’.