Re: [Technical Errata Reported] RFC7230 (4189)
Amos Jeffries <squid3@treenet.co.nz> Tue, 21 April 2015 13:50 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CE961A6EF0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Apr 2015 06:50:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IG1Q8SH0QDm3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Apr 2015 06:50:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3E081A1EF2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Apr 2015 06:50:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1YkYW7-0007bF-LI for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Apr 2015 13:47:11 +0000
Resent-Date: Tue, 21 Apr 2015 13:47:11 +0000
Resent-Message-Id: <E1YkYW7-0007bF-LI@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1YkYW4-0007Yh-12 for ietf-http-wg@listhub.w3.org; Tue, 21 Apr 2015 13:47:08 +0000
Received: from 121-99-228-82.static.orcon.net.nz ([121.99.228.82] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1YkYW3-0005aW-0Z for ietf-http-wg@w3.org; Tue, 21 Apr 2015 13:47:07 +0000
Received: from [192.168.20.11] (121-99-176-123.bng1.nct.orcon.net.nz [121.99.176.123]) by treenet.co.nz (Postfix) with ESMTP id 72AA4E6EBF for <ietf-http-wg@w3.org>; Wed, 22 Apr 2015 01:46:34 +1200 (NZST)
Message-ID: <553654B5.3050801@treenet.co.nz>
Date: Wed, 22 Apr 2015 01:46:29 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20141126195639.B3D5C181CE7@rfc-editor.org> <5476D0BC.70905@greenbytes.de> <CALaySJJh-9w2mnT9fV9dxaOJ_Tq=ipvV7nbNbEqY+g_6ppJjTg@mail.gmail.com> <723A86CD-6369-4A8A-B277-CBDA4439DCE9@gbiv.com> <55364CFE.1000007@gmx.de>
In-Reply-To: <55364CFE.1000007@gmx.de>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.418, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1YkYW3-0005aW-0Z 42efae628bea9d84a497f0f30c74cee8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7230 (4189)
Archived-At: <http://www.w3.org/mid/553654B5.3050801@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29361
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
On 22/04/2015 1:13 a.m., Julian Reschke wrote: > On 2015-02-06 23:32, Roy T. Fielding wrote: >> ... >> I looked at this originally and thought it made sense, but figured >> I would have to check carefully first before responding ... and >> then lost it. >> >> It should be verified as technical, but (like Julian) I think the >> fix should be limited to field-content and obs-fold: >> >> Section: 3.2 >> >> Original Text >> ------------- >> field-name = token >> field-value = *( field-content / obs-fold ) >> field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] >> field-vchar = VCHAR / obs-text >> >> obs-fold = CRLF 1*( SP / HTAB ) >> ; obsolete line folding >> ; see Section 3.2.4 >> >> Corrected Text >> -------------- >> field-name = token >> field-value = *( field-content / obs-fold ) >> field-content = field-vchar [ 1*( SP / HTAB / field-vchar ) >> field-vchar ] >> field-vchar = VCHAR / obs-text >> >> obs-fold = OWS CRLF RWS >> ; obsolete line folding >> ; see Section 3.2.4 >> >> This fixes the problem examples and keeps obs-fold separate from >> field-content. >> It would be best if some other folks could confirm the above before >> making >> the errata official. > > Looks right to me. > > The one thing I'd change is to change > > obs-fold = OWS CRLF RWS > > to > > obs-fold = OWS CRLF 1*( SP / HTAB ) > > to minimize the diff from the RFC. > > Best regards, Julian > > Seems to me that neither version allows matching of field-content consisting of exactly 2 characters. eg. "Content-Length:10\r\n" If I am reading that right the part inside the [] always matches 2+ characters at a time. So we have 1 character, or 3+ characters. This pattern would fix: field-vchar [ *( SP / HTAB / field-vchar ) field-vchar ] Amos
- [Technical Errata Reported] RFC7230 (4189) RFC Errata System
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- Re: [Technical Errata Reported] RFC7230 (4189) Roy T. Fielding
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Amos Jeffries
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Willy Tarreau
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- [Errata Held for Document Update] RFC7230 (4189) RFC Errata System
- Re: [Technical Errata Reported] RFC7230 (4189) Willy Tarreau
- Re: [Technical Errata Reported] RFC7230 (4189) Walter H.
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke