From unknown Sun Aug 10 11:49:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14128 <14128@debbugs.gnu.org> To: bug#14128 <14128@debbugs.gnu.org> Subject: Status: web/http.scm: bad-header date check (UTC?) Reply-To: bug#14128 <14128@debbugs.gnu.org> Date: Sun, 10 Aug 2025 18:49:28 +0000 retitle 14128 web/http.scm: bad-header date check (UTC?) reassign 14128 guile submitter 14128 Aleix Conchillo Flaqu=C3=A9 severity 14128 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 04:02:26 2013 Received: (at submit) by debbugs.gnu.org; 3 Apr 2013 08:02:26 +0000 Received: from localhost ([127.0.0.1]:59254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNIeH-00052q-MK for submit@debbugs.gnu.org; Wed, 03 Apr 2013 04:02:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37195) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNIeF-00052j-Fo for submit@debbugs.gnu.org; Wed, 03 Apr 2013 04:02:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNIbD-0004WF-Jg for submit@debbugs.gnu.org; Wed, 03 Apr 2013 03:59:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNIbD-0004Vx-Fd for submit@debbugs.gnu.org; Wed, 03 Apr 2013 03:59:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNIb8-00072s-HP for bug-guile@gnu.org; Wed, 03 Apr 2013 03:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNIb3-0004Ti-JX for bug-guile@gnu.org; Wed, 03 Apr 2013 03:59:10 -0400 Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:37638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNIb3-0004TW-Cc for bug-guile@gnu.org; Wed, 03 Apr 2013 03:59:05 -0400 Received: by mail-la0-f41.google.com with SMTP id fo12so1180075lab.0 for ; Wed, 03 Apr 2013 00:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=kk3EXcz/9+7ts3KllLQWxYQVVJvCO0WLFXWnTcmMneE=; b=TOv2XbTfsnFfUscmMXBFJ7CkfTnbs2GXIlGiiwRMKgX9mDQI1354H+fZ2XXvqnm3Pw IWm8lFOCTlFeROe2cWuoUFtQ/wcaVB50WKYZkw63/Vjd9OhUqBtGtpvvQYqEPJDfsUH2 q97IgUaI0EjVxBevJZXzLGIGzdn/usGJTafah4S9ni+7M1LVB9jIrpEFNA7OuePU18QO lx+9+lpNgKcV0fxIWa4XI/f5+OB0Kf5qwmRjtcyfEbiFNvI7a9qut4RT0hxa8X0PjZhD DPTgT4t3sKdtU+LSe8lOzVk5bLHfzZIA8QK3DXi0HBqRX62umMKEoTNqgLueJ2n7blVy siVA== MIME-Version: 1.0 X-Received: by 10.112.150.101 with SMTP id uh5mr542461lbb.92.1364975943595; Wed, 03 Apr 2013 00:59:03 -0700 (PDT) Received: by 10.114.24.164 with HTTP; Wed, 3 Apr 2013 00:59:03 -0700 (PDT) Date: Wed, 3 Apr 2013 00:59:03 -0700 Message-ID: Subject: web/http.scm: bad-header date check (UTC?) From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= To: bug-guile@gnu.org Content-Type: multipart/mixed; boundary=047d7b3432fa3ec07404d9703abc X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --047d7b3432fa3ec07404d9703abc Content-Type: text/plain; charset=UTF-8 Hi, I was doing a test using gnutls and connecting to twitter api services. Example attached. I successfully passed the TLS/SSL part, but then I got this HTTP bad header issue. I am running Guile 2.0.5 from Debian/unstable but current stable-2.0 branch also suffers from the safe problem (I think). ============= 184: 1 [read-header #] 754: 0 [parse-asctime-date "Wed, 03 Apr 2013 07:29:49 UTC"] web/http.scm:754:6: In procedure parse-asctime-date: web/http.scm:754:6: Throw to key `bad-header' with args `(date "Wed, 03 Apr 2013 07:29:49 UTC")'. ============= Basically, the problem is that web/http.scm only accepts a GMT suffix and the twitter server sends UTC. I think the RFC 822 standard accepts UT instead of UTC, so it would be wrong as well. Really, not sure what's the right way to fix this considering that even the twitter server does not send a correct day (as far as I understood the RFC). Thanks, Aleix --047d7b3432fa3ec07404d9703abc Content-Type: application/octet-stream; name="twitter-user-timeline.scm" Content-Disposition: attachment; filename="twitter-user-timeline.scm" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hf27e08k0 Cih1c2UtbW9kdWxlcyAoZ251dGxzKQogICAgICAgICAgICAgKGljZS05IGZvcm1hdCkKICAgICAg ICAgICAgIChzcmZpIHNyZmktOCkKICAgICAgICAgICAgIChybnJzIGJ5dGV2ZWN0b3JzKQogICAg ICAgICAgICAgKHdlYiB1cmkpCiAgICAgICAgICAgICAod2ViIGNsaWVudCkpCgooZGVmaW5lICh0 d2l0dGVyLXVzZXItdGltZWxpbmUgdXJsKQogIChsZXQqICgodXJpIChzdHJpbmctPnVyaSB1cmwp KQogICAgICAgICAoc29ja2V0IChvcGVuLXNvY2tldC1mb3ItdXJpIHVyaSkpCiAgICAgICAgIChz ZXNzaW9uIChtYWtlLXNlc3Npb24gY29ubmVjdGlvbi1lbmQvY2xpZW50KSkpCgogIChzZXQtbG9n LWxldmVsISAwKQoKICAoc2V0LWxvZy1wcm9jZWR1cmUhCiAgIChsYW1iZGEgKGxldmVsIG1zZykg KGZvcm1hdCAjdCAifDx+ZD58IH5hIiBsZXZlbCBtc2cpKSkKCiAgOzsgVXNlIHRoZSBmaWxlIDhk ZXNjcmlwdG9yIHRoYXQgdW5kZXJsaWVzIFNPQ0tFVC4KICAoc2V0LXNlc3Npb24tdHJhbnNwb3J0 LWZkISBzZXNzaW9uIChmaWxlbm8gc29ja2V0KSkKCiAgOzsgVXNlIHRoZSBkZWZhdWx0IHNldHRp bmdzLgogIChzZXQtc2Vzc2lvbi1wcmlvcml0aWVzISBzZXNzaW9uICJOT1JNQUwiKQoKICA7OyBD cmVhdGUgYW5vbnltb3VzIGNyZWRlbnRpYWxzLgogIChzZXQtc2Vzc2lvbi1jcmVkZW50aWFscyEg c2Vzc2lvbgogICAgICAgICAgICAgICAgICAgICAgICAgICAgKG1ha2UtYW5vbnltb3VzLWNsaWVu dC1jcmVkZW50aWFscykpCiAgKHNldC1zZXNzaW9uLWNyZWRlbnRpYWxzISBzZXNzaW9uCiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAobWFrZS1jZXJ0aWZpY2F0ZS1jcmVkZW50aWFscykpCgog IDs7IFBlcmZvcm0gdGhlIFRMUyBoYW5kc2hha2Ugd2l0aCB0aGUgc2VydmVyLgogIChoYW5kc2hh a2Ugc2Vzc2lvbikKCiAgKHJlY2VpdmUgKHJlc3BvbnNlIGJvZHkpCiAgICAgIChodHRwLWdldCB1 cmkKICAgICAgICAgICAgICAgICM6cG9ydCAoc2Vzc2lvbi1yZWNvcmQtcG9ydCBzZXNzaW9uKQog ICAgICAgICAgICAgICAgIzprZWVwLWFsaXZlPyAjdCkKICAgIChwayAodXRmOC0+c3RyaW5nIGJv ZHkpKSkKCiAgKGJ5ZSBzZXNzaW9uIGNsb3NlLXJlcXVlc3QvcmR3cikpKQoKKHR3aXR0ZXItdXNl ci10aW1lbGluZSAiaHR0cHM6Ly9hcGkudHdpdHRlci5jb20vMS4xL3N0YXR1c2VzL3VzZXJfdGlt ZWxpbmUuanNvbiIpCg== --047d7b3432fa3ec07404d9703abc-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 05:50:09 2013 Received: (at 14128) by debbugs.gnu.org; 3 Apr 2013 09:50:09 +0000 Received: from localhost ([127.0.0.1]:59365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNKKW-00080F-5f for submit@debbugs.gnu.org; Wed, 03 Apr 2013 05:50:08 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:38982) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNKKT-000804-Jr for 14128@debbugs.gnu.org; Wed, 03 Apr 2013 05:50:06 -0400 Received: by mail-ie0-f179.google.com with SMTP id k11so1456088iea.10 for <14128@debbugs.gnu.org>; Wed, 03 Apr 2013 02:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=ypOeBLT6SqhZVZsGXxNyZaog6wEwZpN0wflRV6ygfgw=; b=rJOcZ5I9ruM1GZkKeLwTVTCpgmquW6nHo/v0B0+YAzoorFwxlZmRn++Fn88KDXhmSJ 86dosV6zbwEGx9myJ/b0HUE5/f7J9nnK8S6T9FzMi0jHJTuioTmIlb5sDeqPWz6iRvOH mDmJi1ETRQrbSO9o0CF99IoLMhW1QQ4iaEBTKzvus0pSDzUki+wj28APTGyOpChI9b0k i7e5Php4/A8Qnvoiq4Fe/zPBVEqTXu8Cd7cpHtVeDd3TJaOMnS6Z1clLjzyQnNyBH12B 7UR5T+oXyg4dnh1NLyFBKb7937TSfj2jg/FdpLFauLsDhR+GDas9M4YzfN2BWvmFMNns BjXA== MIME-Version: 1.0 X-Received: by 10.42.82.67 with SMTP id c3mr511289icl.25.1364982421564; Wed, 03 Apr 2013 02:47:01 -0700 (PDT) Received: by 10.64.26.168 with HTTP; Wed, 3 Apr 2013 02:47:01 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Apr 2013 17:47:01 +0800 Message-ID: Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) From: Daniel Hartwig To: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14128 Cc: 14128@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 3 April 2013 15:59, Aleix Conchillo Flaqu=C3=A9 w= rote: > Hi, > > I was doing a test using gnutls and connecting to twitter api > services. Example attached. > > I successfully passed the TLS/SSL part, but then I got this HTTP bad > header issue. I am running Guile 2.0.5 from Debian/unstable but > current stable-2.0 branch also suffers from the safe problem (I > think). > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 184: 1 [read-header #] > 754: 0 [parse-asctime-date "Wed, 03 Apr 2013 07:29:49 UTC"] > > web/http.scm:754:6: In procedure parse-asctime-date: > web/http.scm:754:6: Throw to key `bad-header' with args `(date "Wed, > 03 Apr 2013 07:29:49 UTC")'. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Basically, the problem is that web/http.scm only accepts a GMT suffix > and the twitter server sends UTC. I think the RFC 822 standard accepts > UT instead of UTC, so it would be wrong as well. RFC 2616 _requires_ http date values have a suffix of " GMT", other time zone values are not valid. RFC 822 has no relevance. Some times you see these =E2=80=9CAPI=E2=80=9D or =E2=80=9Cweb services=E2=80=9D break= ing HTTP spec. in various ways and claiming =E2=80=9Cwell we are not HTTP just very-HTTP-like=E2=80= =9D but that is not useful for people trying to interact. Turns out there are a few broken http servers around. 2616 recommends to convert non-GMT date values to GMT where such conversion is unambiguous, and in Guile we have done this a bit. Apparently we are supposed to do this a bit more and accomodate yet another non-compliant service? Erk. What is the point of defining protocols and standards then? From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 06:34:46 2013 Received: (at submit) by debbugs.gnu.org; 3 Apr 2013 10:34:46 +0000 Received: from localhost ([127.0.0.1]:59395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNL1i-0001DX-5P for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:34:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57180) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNL1f-0001DM-8o for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:34:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNKyg-000467-G2 for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:31:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50, RCVD_IN_DNSWL_NONE, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNKyg-000463-Cl for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:31:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNKye-0000Xz-UK for bug-guile@gnu.org; Wed, 03 Apr 2013 06:31:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNKyc-00045B-Et for bug-guile@gnu.org; Wed, 03 Apr 2013 06:31:36 -0400 Received: from smtp205.alice.it ([82.57.200.101]:34472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNKyb-00044u-VV for bug-guile@gnu.org; Wed, 03 Apr 2013 06:31:34 -0400 Received: from zigzag.favinet (79.10.68.114) by smtp205.alice.it (8.6.060.15) id 511D1074074DAC96; Wed, 3 Apr 2013 12:31:29 +0200 Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1UNL0s-00043H-Qc; Wed, 03 Apr 2013 12:33:54 +0200 From: Thien-Thi Nguyen To: Daniel Hartwig Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) References: Date: Wed, 03 Apr 2013 12:33:44 +0200 In-Reply-To: (Daniel Hartwig's message of "Wed, 3 Apr 2013 17:47:01 +0800") Message-ID: <87d2ubaoon.fsf@zigzag.favinet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit Cc: bug-guile@gnu.org, Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Daniel Hartwig () Wed, 3 Apr 2013 17:47:01 +0800 Apparently we are supposed to do this a bit more and accomodate yet another non-compliant service? Maybe that stuff should be exposed to the user. Do a best effort conversion and if not successful, return a pair =E2=80=98(raw-string . STRI= NG)=E2=80=99 or whatever -- it's enough that it has a different type and that the type is documented. This way, you avoid carrying forward lots of cruft. Do it now before it's too late! Erk. What is the point of defining protocols and standards then? One purpose is to challenge programmers to learn how and when to say "no". =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlFcBYwACgkQZwMiJEyAdQJbFgCfVFlcJ73xkVGaZRcE75prwf8G EFoAoI8W9YsGXVdv0Xq7yV/gW+Hqe9Jk =6cuk -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 06:50:42 2013 Received: (at submit) by debbugs.gnu.org; 3 Apr 2013 10:50:43 +0000 Received: from localhost ([127.0.0.1]:59404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNLH7-0001or-S0 for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:50:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33652) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNLH3-0001oc-Mk for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:50:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNLE5-0001PR-7l for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:47:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNLE4-0001PL-Rq for submit@debbugs.gnu.org; Wed, 03 Apr 2013 06:47:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNLDz-0006gw-JS for bug-guile@gnu.org; Wed, 03 Apr 2013 06:47:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNLDv-0001Nn-VA for bug-guile@gnu.org; Wed, 03 Apr 2013 06:47:27 -0400 Received: from mail-ie0-x22a.google.com ([2607:f8b0:4001:c03::22a]:45659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNLDv-0001Na-NL for bug-guile@gnu.org; Wed, 03 Apr 2013 06:47:23 -0400 Received: by mail-ie0-f170.google.com with SMTP id c11so1497438ieb.1 for ; Wed, 03 Apr 2013 03:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=WYGpB3eF45s45YIuwCJUixDzk7TuOIzcuu7z0IiuRPo=; b=tIk7rE8ShtdiHSUyTKsl8IvnsmXKFqMReYC1jBW1gIBO48atrtFiil7nULZWYHrgP6 rs8d9mf0rpc5iXd/SDfMoMPL4y6BHTRmAc+s2RqwZdNmX+GyJIvpnh4XWm41BXCJDy5e zMuOGbgnyt6jw+2EJKg4+F6QQnhuzYz4e/1A99yNawgfejWW4L9cRo1BLzCJkbAUZba8 q3yCBXxxLDDXkj8nGIssNDDrt5818AI1y6TC5J5l5qlFEvWlPyyASso08YCAajozvBCl QqQ2CUqXFSdRqYKK2Krbf6pFpMqy/6b3PBuhYNSmHUVkXAeDqGNR0eHHDGccWHjgq/KC xx6w== MIME-Version: 1.0 X-Received: by 10.50.134.4 with SMTP id pg4mr685939igb.96.1364986042721; Wed, 03 Apr 2013 03:47:22 -0700 (PDT) Received: by 10.64.26.168 with HTTP; Wed, 3 Apr 2013 03:47:22 -0700 (PDT) In-Reply-To: <87d2ubaoon.fsf@zigzag.favinet> References: <87d2ubaoon.fsf@zigzag.favinet> Date: Wed, 3 Apr 2013 18:47:22 +0800 Message-ID: Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) From: Daniel Hartwig To: Thien-Thi Nguyen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit Cc: bug-guile@gnu.org, =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) On 3 April 2013 18:33, Thien-Thi Nguyen wrote: > () Daniel Hartwig > () Wed, 3 Apr 2013 17:47:01 +0800 > > Apparently we are supposed to do this a bit more and accomodate yet > another non-compliant service? > > Maybe that stuff should be exposed to the user. Do a best effort > conversion and if not successful, return a pair =E2=80=98(raw-string . ST= RING)=E2=80=99 > or whatever -- it's enough that it has a different type and that the > type is documented. This way, you avoid carrying forward lots of cruft. > Do it now before it's too late! Interesting. Though this does gradually erode the type barrier erected by the web module. I am reluctant to cede this territory. Instead of this cruft accumulating in a few places (the web modules), it becomes gratutiously spread around and duplicated in other programs. It was previously suggested to implement a permissive flag that, while not passing unparsed data to the users, will at least not raise errors and stop. > > > Erk. What is the point of defining protocols and standards then? > > One purpose is to challenge programmers to learn how and when to say "no"= . > :-) From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 08:37:47 2013 Received: (at 14128) by debbugs.gnu.org; 3 Apr 2013 12:37:47 +0000 Received: from localhost ([127.0.0.1]:59545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNMwk-0006Xf-Ui for submit@debbugs.gnu.org; Wed, 03 Apr 2013 08:37:47 -0400 Received: from xanadu.aquilenet.fr ([88.191.123.111]:51926) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNMwh-0006XT-VY for 14128@debbugs.gnu.org; Wed, 03 Apr 2013 08:37:44 -0400 Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id CCD9ACFCD; Wed, 3 Apr 2013 14:34:38 +0200 (CEST) Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QcTbiLdHS2tL; Wed, 3 Apr 2013 14:34:38 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 55FC4CFCA; Wed, 3 Apr 2013 14:34:38 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Daniel Hartwig Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Germinal an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Wed, 03 Apr 2013 14:34:37 +0200 In-Reply-To: (Daniel Hartwig's message of "Wed, 3 Apr 2013 17:47:01 +0800") Message-ID: <8738v7pzc2.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Daniel Hartwig skribis: > RFC 2616 _requires_ http date values have a suffix of " GMT" What about adding an exception for “UTC”? :-) [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4981] X-Debbugs-Envelope-To: 14128 Cc: Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9?= , 14128@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) Daniel Hartwig skribis: > RFC 2616 _requires_ http date values have a suffix of " GMT" What about adding an exception for =E2=80=9CUTC=E2=80=9D? :-) It=E2=80=99s the same timezone, only with a different name, so it shouldn= =E2=80=99t cost us much. WDYT? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 11:01:03 2013 Received: (at 14128) by debbugs.gnu.org; 3 Apr 2013 15:01:03 +0000 Received: from localhost ([127.0.0.1]:60168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNPBM-0002UO-KC for submit@debbugs.gnu.org; Wed, 03 Apr 2013 11:01:03 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:48396) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNPBG-0002UC-MT for 14128@debbugs.gnu.org; Wed, 03 Apr 2013 11:00:56 -0400 Received: by mail-la0-f45.google.com with SMTP id er20so1516189lab.4 for <14128@debbugs.gnu.org>; Wed, 03 Apr 2013 07:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=cPhiZ+EdipeVuoz5qmVvtidApuE0B5RQjYFJqL0miHU=; b=yIp/SCwm3RarQ9xneJDNscP96Dxdxkwg8AUrng8XvmPgf450Gb4Oy5vaD+3yab7vjw hg2RyxVtuMXw4Yi2YhjW77ho9Y93SN/IOE26YOhpjpk+Lz4kL66REC/AQGvGUhkbxND/ aZ67J9YM1HLN0sfnknjWY1bhrGE8HcHCJkyeG7W03uXKeIUag3G3ohKabHV7N89NmrFY EOPu2llMPIrmwOfGaeZKWvfcep4As0+PjDsA/Me8/sDdLvfw8O4RD9k8MG8dOs0i/p/4 6eBLHRYqnSm6VZXvwlUJ5xmjmVLSbqp5bUjV0S1T5YSLV/RUk8sX6wdi2j6xH15TH3cm i32Q== MIME-Version: 1.0 X-Received: by 10.152.115.196 with SMTP id jq4mr1084249lab.53.1365001068880; Wed, 03 Apr 2013 07:57:48 -0700 (PDT) Received: by 10.114.24.164 with HTTP; Wed, 3 Apr 2013 07:57:48 -0700 (PDT) In-Reply-To: <8738v7pzc2.fsf@gnu.org> References: <8738v7pzc2.fsf@gnu.org> Date: Wed, 3 Apr 2013 07:57:48 -0700 Message-ID: Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14128 Cc: 14128@debbugs.gnu.org, Daniel Hartwig X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Apr 3, 2013 at 5:34 AM, Ludovic Court=C3=A8s wrote: > Daniel Hartwig skribis: > >> RFC 2616 _requires_ http date values have a suffix of " GMT" > > What about adding an exception for =E2=80=9CUTC=E2=80=9D? :-) > > It=E2=80=99s the same timezone, only with a different name, so it shouldn= =E2=80=99t cost > us much. > > WDYT? > This is what I did locally so I could continue testing. But unfortunately, it's is very likely that there are more broken servers around. The permissive flag seems like an "all-or-nothing", so I think Thien-Thi's suggestion sounds pretty reasonable: for all headers checks, give a default but let user specify their owns (if I understood that correctly). In my case I would just provide a #t for the date check. Best, Aleix From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 03 11:05:18 2013 Received: (at 14128) by debbugs.gnu.org; 3 Apr 2013 15:05:18 +0000 Received: from localhost ([127.0.0.1]:60175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNPFU-0002b6-TR for submit@debbugs.gnu.org; Wed, 03 Apr 2013 11:05:17 -0400 Received: from mail-lb0-f172.google.com ([209.85.217.172]:49286) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNPFQ-0002au-Gg for 14128@debbugs.gnu.org; Wed, 03 Apr 2013 11:05:14 -0400 Received: by mail-lb0-f172.google.com with SMTP id u10so1700683lbi.17 for <14128@debbugs.gnu.org>; Wed, 03 Apr 2013 08:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=PexWPdJl6w2877Zs3IXYDmJk++IUYH+i+ISPlSJT1Fw=; b=guhSXmhk54VFUZpEXn1J7UzeH5thghFozgWR3uVaAuFEOajVMNJjZnT1UgHsH2lwRC estWJLHtBWAnjtElSIfDax95XVUYpI1LgoQL5vwrkCABHx+Aa9RssTfRp0EsIjeA+e8d g97sc+paQ5PzST5N9oV769DwZJC7wRNBunGyJbgdG8sNpRTIAXJhYfqgm6ZmOba8i/yd Qm2DnnKxSvjqQLgtwyvT7ymVVUeGRHGw3MyRzQY0B2Et3+5lYsy/H0mtwUUMaW3Gy4rC YWKmZUCNHBsceCB91usE8a4dY27mSCJe/mMdl4PvKLjGkPtsZ4BZEs0hso5cTPTBmdNN L8sQ== MIME-Version: 1.0 X-Received: by 10.112.39.138 with SMTP id p10mr1305618lbk.31.1365001326849; Wed, 03 Apr 2013 08:02:06 -0700 (PDT) Received: by 10.114.24.164 with HTTP; Wed, 3 Apr 2013 08:02:06 -0700 (PDT) In-Reply-To: References: <8738v7pzc2.fsf@gnu.org> Date: Wed, 3 Apr 2013 08:02:06 -0700 Message-ID: Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14128 Cc: 14128@debbugs.gnu.org, Daniel Hartwig X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Apr 3, 2013 at 7:57 AM, Aleix Conchillo Flaqu=C3=A9 wrote: > > This is what I did locally so I could continue testing. But > unfortunately, it's is very likely that there are more broken servers > around. The permissive flag seems like an "all-or-nothing", so I think > Thien-Thi's suggestion sounds pretty reasonable: for all headers > checks, give a default but let user specify their owns (if I > understood that correctly). In my case I would just provide a #t for > the date check. > I have to add, that it might be also true that you end up with all checks returning true, to make every server happy. So, all in all, I am a bit confused, may be the permissive flag is not that bad. The user could still read the headers after that, right? And decide whether they are good or bad. Aleix From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 04 17:04:52 2013 Received: (at 14128) by debbugs.gnu.org; 4 Apr 2013 21:04:52 +0000 Received: from localhost ([127.0.0.1]:34195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNrL1-0003KY-Ol for submit@debbugs.gnu.org; Thu, 04 Apr 2013 17:04:52 -0400 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:60810 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNrKu-0003Jw-5A for 14128@debbugs.gnu.org; Thu, 04 Apr 2013 17:04:46 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 3EAD5BCEC; Thu, 4 Apr 2013 17:01:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=gZk26qNk8UNb FQT2Ym70dyDuRos=; b=fqfeO6YNKI0HNT48cUYdzCkJn2gHT+P2CJOE0mhRpC78 7ZiA2LAh1KooyQ/aCx5tq9P5LhDVssK2/Jk3ha1DAGlxzkjeVm6/K8s9a3VbNL8v W/Up+IKJ1BE0IdGsKlBtU5fumQPDG+fe+Ip0hAXhZ0KEIEwJ7sTewXMND8Tv4ek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=Jbdmj0 RwBbDhPiBxkC5LlHnMN73BbOOYJ1NfMxfj3ofpSWmvsjFqUfS0OEFE6M1wBLH3cn FvpS+HIVmAZbFrtNzfGr214tX5TiI5AKs34kTv84QT/KfbGzfj1A1lvsE9l6KogO I9oVDXVSjYbPbn5Zn3vyZr/+MOleDOeaKoP4g= Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 35CD7BCEB; Thu, 4 Apr 2013 17:01:32 -0400 (EDT) Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id AD225BCEA; Thu, 4 Apr 2013 17:01:31 -0400 (EDT) From: Andy Wingo To: Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9?= Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) References: Date: Thu, 04 Apr 2013 23:01:29 +0200 In-Reply-To: ("Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9=22's?= message of "Wed, 3 Apr 2013 00:59:03 -0700") Message-ID: <87vc8280ye.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: D3B3C2E2-9D6A-11E2-B65F-D36F0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 14128 Cc: 14128@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) On Wed 03 Apr 2013 09:59, Aleix Conchillo Flaqu=C3=A9 writes: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 184: 1 [read-header #] > 754: 0 [parse-asctime-date "Wed, 03 Apr 2013 07:29:49 UTC"] > > web/http.scm:754:6: In procedure parse-asctime-date: > web/http.scm:754:6: Throw to key `bad-header' with args `(date "Wed, > 03 Apr 2013 07:29:49 UTC")'. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Just reported this: https://twitter.com/andywingo/status/319916865642168320 Let's see if they fix it before doing anything on our side. Andy --=20 http://wingolog.org/ From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 04 18:48:32 2013 Received: (at 14128) by debbugs.gnu.org; 4 Apr 2013 22:48:33 +0000 Received: from localhost ([127.0.0.1]:34311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNsxL-0006QR-NO for submit@debbugs.gnu.org; Thu, 04 Apr 2013 18:48:32 -0400 Received: from mail-ie0-f182.google.com ([209.85.223.182]:44111) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNsxI-0006QI-MF for 14128@debbugs.gnu.org; Thu, 04 Apr 2013 18:48:29 -0400 Received: by mail-ie0-f182.google.com with SMTP id at1so3666925iec.27 for <14128@debbugs.gnu.org>; Thu, 04 Apr 2013 15:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=27eOPtZ+f/Wr+w8vjbCi4u48bnDaPnBSQQiGunIKcU4=; b=ivgrv0em2Ka/PZpzgLBiLqi37VRDBiCv4SjNQlBshp7G8o4dGcRGCDkvKk6L3oUg7P M/SXwxIIu8n2RT/EwpuA9lfM8eCJciI/Mwl0qnWDqxuJDT7HOiHmLI2PkJbt1IGt3WZb A1jBLbf4xLyEPCMn/whS150HTUeWZWFPrUuuGWl9tDDYqrpvR7HUj5elQbgHiiqCXuju qy/JXY4JyG+lLWnR9hbe9zIU4XMMP7p4nCIImD6bkBid2EZGrxo7ZNGnUVp6al2YvC/y kGq5qKbmtR16ZFhL1n19/gF2oFCAoceaF/KjF0S0vTe/oTuS8dNYMAXXD5ItuiDUsh1F s/iw== MIME-Version: 1.0 X-Received: by 10.50.134.4 with SMTP id pg4mr63875igb.96.1365115516049; Thu, 04 Apr 2013 15:45:16 -0700 (PDT) Received: by 10.64.26.168 with HTTP; Thu, 4 Apr 2013 15:45:15 -0700 (PDT) In-Reply-To: <874nfnaj71.fsf@zigzag.favinet> References: <87d2ubaoon.fsf@zigzag.favinet> <874nfnaj71.fsf@zigzag.favinet> Date: Fri, 5 Apr 2013 06:45:15 +0800 Message-ID: Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) From: Daniel Hartwig To: Thien-Thi Nguyen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14128 Cc: aconchillo@gmail.com, 14128@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 3 April 2013 20:32, Thien-Thi Nguyen wrote: > () Daniel Hartwig > () Wed, 3 Apr 2013 18:47:22 +0800 > > Interesting. Though this does gradually erode the type barrier > erected by the web module. I am reluctant to cede this territory. > > I suppose playing whack-a-mole is fun sometimes, for a while. > > Instead of this cruft accumulating in a few places (the web modules), > it becomes gratutiously spread around and duplicated in other > programs. > > Well more precisely, in those programs which talk to such servers, and > actually care about that particular data. (Many programs do not.) > > It was previously suggested to implement a permissive flag that, > while not passing unparsed data to the users, will at least not raise > errors and stop. > > In this direction, you might as well go higher-order. Client code > specifies the conversion procedure, and there is a reasonable default > (also exported, so that the user can compose it w/ their own bad-input > detection/handling). This is more Schemely, in my mind. That is =E2=80=98declare-header!=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 03:35:52 2013 Received: (at 14128-done) by debbugs.gnu.org; 19 Nov 2013 08:35:53 +0000 Received: from localhost ([127.0.0.1]:60903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vigmm-000075-MU for submit@debbugs.gnu.org; Tue, 19 Nov 2013 03:35:52 -0500 Received: from world.peace.net ([96.39.62.75]:48122 ident=hope6) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vigmk-00006w-RG for 14128-done@debbugs.gnu.org; Tue, 19 Nov 2013 03:35:51 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Vigme-0001d1-Fu; Tue, 19 Nov 2013 03:35:44 -0500 From: Mark H Weaver To: Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9?= Subject: Re: bug#14128: web/http.scm: bad-header date check (UTC?) References: Date: Tue, 19 Nov 2013 03:35:23 -0500 In-Reply-To: ("Aleix Conchillo \=\?utf-8\?Q\?Flaqu\=C3\=A9\=22's\?\= message of "Wed, 3 Apr 2013 00:59:03 -0700") Message-ID: <87ob5g3i2c.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14128-done Cc: 14128-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Andy Wingo agreed on IRC to accepting UTC, since we've since discovered that not only various web servers, but also some transparent web proxies put UTC in the date header, which was causing problems for many people. So, I've pushed a change to stable-2.0 to accept UTC. http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=8904b7a9362ede0de324e55701d8ea1d018f8738 I'm closing this bug now. Thanks for the report! Mark From unknown Sun Aug 10 11:49:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 17 Dec 2013 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator