Re: [Technical Errata Reported] RFC9112 (7214)

Willy Tarreau <w@1wt.eu> Mon, 31 October 2022 11:44 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD49BC14F73D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 31 Oct 2022 04:44:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.659
X-Spam-Level:
X-Spam-Status: No, score=-2.659 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5AF9NPeG0F7B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 31 Oct 2022 04:43:57 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C338C14F72D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 31 Oct 2022 04:43:56 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1opTAF-002Nv6-45 for ietf-http-wg-dist@listhub.w3.org; Mon, 31 Oct 2022 11:41:11 +0000
Resent-Date: Mon, 31 Oct 2022 11:41:11 +0000
Resent-Message-Id: <E1opTAF-002Nv6-45@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <w@1wt.eu>) id 1opTAE-002Nu9-Ce for ietf-http-wg@listhub.w3.org; Mon, 31 Oct 2022 11:41:10 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.94.2) (envelope-from <w@1wt.eu>) id 1opTA9-004HcC-Vj for ietf-http-wg@w3.org; Mon, 31 Oct 2022 11:41:10 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 29VBeI78017839; Mon, 31 Oct 2022 12:40:18 +0100
Date: Mon, 31 Oct 2022 12:40:18 +0100
From: Willy Tarreau <w@1wt.eu>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: fielding@gbiv.com, mnot@mnot.net, julian.reschke@greenbytes.de, superuser@gmail.com, francesca.palombini@ericsson.com, tpauly@apple.com, niklas.wolber-rfc@octopost.eu, ietf-http-wg@w3.org
Message-ID: <20221031114017.GA17754@1wt.eu>
References: <20221031105025.7A1731D5E@rfcpa.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20221031105025.7A1731D5E@rfcpa.amsl.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1opTA9-004HcC-Vj 4746bda5ecda56434c260e15def44834
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC9112 (7214)
Archived-At: <https://www.w3.org/mid/20221031114017.GA17754@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40509
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Mon, Oct 31, 2022 at 03:50:25AM -0700, RFC Errata System wrote:
> The following errata report has been submitted for RFC9112,
> "HTTP/1.1".
> 
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid7214
> 
> --------------------------------------
> Type: Technical
> Reported by: Niklas Wolber <niklas.wolber-rfc@octopost.eu>
> 
> Section: 1.2
> 
> Original Text
> -------------
> The following core rules are included by reference, as defined in
> [RFC5234], Appendix B.1: ALPHA (letters), CR (carriage return), CRLF
> (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote),
> HEXDIG (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), LF (line
> feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR (any
> visible [USASCII] character).
> 
> Corrected Text
> --------------
> The following core rules are included by reference, as defined in
> [RFC5234], Appendix B.1: ALPHA (letters), CR (carriage return), CRLF
> (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote),
> HEXDIG (hexadecimal 0-9/A-F), HTAB (horizontal tab), LF (line
> feed), OCTET (any 8-bit sequence of data), SP (space), and VCHAR (any
> visible [USASCII] character).
> 
> Notes
> -----
> Rule HEXDIG from RFC5234 is 
> HEXDIG =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
> excluding lower-case letters.

That's concerning, because HEXDIG is only used to define chunk-size, and
since chunk-size was introduced, it has always supported lower-case. This
same definition was already present in 7230, which explicitly mentioned
the lower-case chars as well.

The proposed change is not acceptable as we cannot forbid lower-case hex
digits in chunk sizes 25 years after they've been widely used, so the
alternative might be to stop relying on HEXDIG for chunk sizes and fall
back to a local "HEX" definition like 2616 did.

Just my two cents,
Willy