Re: [Technical Errata Reported] RFC9112 (7214)

Mark Nottingham <mnot@mnot.net> Mon, 31 October 2022 11:47 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 CAEAFC14F72D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 31 Oct 2022 04:47:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.06
X-Spam-Level:
X-Spam-Status: No, score=-5.06 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=iFp1Uxtt; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=cmp2qAFR
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 lZLNsP3Yd4ri for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 31 Oct 2022 04:47:41 -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 2508AC14F73D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 31 Oct 2022 04:47:40 -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 1opTE6-002OZD-6J for ietf-http-wg-dist@listhub.w3.org; Mon, 31 Oct 2022 11:45:10 +0000
Resent-Date: Mon, 31 Oct 2022 11:45:10 +0000
Resent-Message-Id: <E1opTE6-002OZD-6J@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 <mnot@mnot.net>) id 1opTE5-002OYF-FY for ietf-http-wg@listhub.w3.org; Mon, 31 Oct 2022 11:45:09 +0000
Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mnot@mnot.net>) id 1opTE3-004HgL-G1 for ietf-http-wg@w3.org; Mon, 31 Oct 2022 11:45:09 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D7B115C00D6; Mon, 31 Oct 2022 07:44:56 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 31 Oct 2022 07:44:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1667216696; x= 1667303096; bh=0ua/TL3NY+gKDK8tAA68j9BAQpkpWR6MiGKHnOqHkDU=; b=i Fp1UxttUuenTJCMBqiXrgexQYRZGNmF1VW8E1UAzmeECY0R6AZeeFSDUAC2XXKiz v3jjRERdjBqJG2nbaZScgJ6ym2hAjQMaKmbdEXDLQ5RtATs1/25/NuOo6MbFhw4s OhuouZT+PAZcMGk/8DfAAg/FYCDtfIhvfZYCwhk4bUn0YEYu4diWyVNPJvixcG+R VUiTF6HWWkGDjdD2oVDNICytjnmrPkpy8YrIsEFUMCB20kHkUGvoPuuvsVd5d+DL BE2KC5VZZdvPUMvsk0GjIB1ZhFy6AOaPHnkbIZnPlI0PE6wqs9QtVDTO/eJ+9Qn3 Jp9ZmNJb0NPDMbr4eJjsg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1667216696; x= 1667303096; bh=0ua/TL3NY+gKDK8tAA68j9BAQpkpWR6MiGKHnOqHkDU=; b=c mp2qAFRL/IeuUvTz0AxqqHOr3uyVHLK3dROltJOXQwkteVUcEY42YKFdnY7ChApo Xc5wr3tblj+smMr1/dTy+0MOvCiSpF8gckqNjnm8VLtTlqA9eVzIlk/ZWbvCb6wo prQLtEGWYQ6gT1TiOULgvn1BNToqJ2m7tZMA5Dfi2rZOcx8xsFFCiqASWFIDYrVE aQ/HETJy6QETs48qJOD5iDHJkPw68JM/tX8OuodxKTUWaIaQJPJ3tWMiydu9wOYh LQsJi30ECt/hfm57PDGhFGnqs9xu8U2NQf+yVgML6y9f92/vsM+f+uru4O3yKcR6 q+jB4GbHpjdfDFme/WhZA==
X-ME-Sender: <xms:N7VfY9McwNZDsD9YaaYuiEOfwBYx6PKSQsNHBsvnU5sHE7LoovpMJA> <xme:N7VfY__zK96MZQuxDFFNTgCGfz8jU6Hya9AHsmnrrq9d1o3M7lBu01oHTEjHr4sP9 JCcS2P3TWWeGLqFjg>
X-ME-Received: <xmr:N7VfY8RVYh5ycFa7-EP0TgneZMxHIlmWgrahzCFF6syzhxh6p7kb3SRQGKHlxvo0VUP_nQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudefgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrrhhk ucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeetgfekveeuueekhedvvdejffehhfekgfeuueelleekteethfelvddvfeetieeh tdenucffohhmrghinheprhhftgdqvgguihhtohhrrdhorhhgpdhmnhhothdrnhgvthenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmnhhothes mhhnohhtrdhnvght
X-ME-Proxy: <xmx:N7VfY5sIgJZLPN-98GNWbEWVh0uIaLujXNWWdRIyY5rGMkdMlfUlPg> <xmx:N7VfY1ewZrFb7NIM1nFXSovX0G4kyi8DGqzCIBgN26FpeLZYsnKkTA> <xmx:N7VfY13bQU4ctijFvNW4JyRBegrgkFgj5sYoElPhvq-rbRZzXhpAPw> <xmx:OLVfY_t7BuOyj-bYX7SzXGsVT-prSB1WgdlwH1LH4BffmmxHafP3QA>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 31 Oct 2022 07:44:53 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20221031114017.GA17754@1wt.eu>
Date: Mon, 31 Oct 2022 11:44:16 +0000
Cc: RFC Errata System <rfc-editor@rfc-editor.org>, Roy Fielding <fielding@gbiv.com>, "Julian F. Reschke" <julian.reschke@greenbytes.de>, superuser@gmail.com, francesca.palombini@ericsson.com, tpauly@apple.com, niklas.wolber-rfc@octopost.eu, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <532F73C3-4780-42C6-B1D6-7E995192C598@mnot.net>
References: <20221031105025.7A1731D5E@rfcpa.amsl.com> <20221031114017.GA17754@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Received-SPF: pass client-ip=66.111.4.26; envelope-from=mnot@mnot.net; helo=out2-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=mnot.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1opTE3-004HgL-G1 058ab30cd5a422313445cf6971339f64
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC9112 (7214)
Archived-At: <https://www.w3.org/mid/532F73C3-4780-42C6-B1D6-7E995192C598@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40510
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>

5234 2.3 says:

   ABNF strings are case insensitive and the character set for these strings is US-ASCII.

HEXDIG is defined as an alternation between strings. This errata should be rejected.

Cheers,


> On 31 Oct 2022, at 11:40 am, Willy Tarreau <w@1wt.eu> wrote:
> 
> 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

--
Mark Nottingham   https://www.mnot.net/