GNU bug report logs - #23421
parse-rfc-822-date is too strict

Previous Next

Package: guile;

Reported by: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Date: Mon, 2 May 2016 09:25:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #10 received at 23421-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Cc: 23421-done <at> debbugs.gnu.org
Subject: Re: bug#23421: parse-rfc-822-date is too strict
Date: Sun, 08 May 2016 22:02:13 +0200
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> 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’.




This bug report was last modified 9 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.