Re: [websec] Last Call: <draft-ietf-websec-origin-04.txt> (The Web Origin Concept) to Proposed Standard
Julian Reschke <julian.reschke@gmx.de> Sun, 04 September 2011 19:59 UTC
Return-Path: <julian.reschke@gmx.de>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6E3121F8A62 for <websec@ietfa.amsl.com>; Sun, 4 Sep 2011 12:59:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.231
X-Spam-Level:
X-Spam-Status: No, score=-104.231 tagged_above=-999 required=5 tests=[AWL=-1.632, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hBBaH7CiRUz0 for <websec@ietfa.amsl.com>; Sun, 4 Sep 2011 12:59:03 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfa.amsl.com (Postfix) with SMTP id B713B21F8A4E for <websec@ietf.org>; Sun, 4 Sep 2011 12:59:02 -0700 (PDT)
Received: (qmail invoked by alias); 04 Sep 2011 20:00:43 -0000
Received: from p508F9E0A.dip.t-dialin.net (EHLO [192.168.178.36]) [80.143.158.10] by mail.gmx.net (mp023) with SMTP; 04 Sep 2011 22:00:43 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+oDdhVBhqo0bBYlqfcHqWVWd0iK5R+ekRfGhkWad OVMdO6SDmwXJIB
Message-ID: <4E63D8EA.9010700@gmx.de>
Date: Sun, 04 Sep 2011 22:00:42 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1
MIME-Version: 1.0
To: Adam Barth <ietf@adambarth.com>
References: <20110823211953.14482.9265.idtracker@ietfa.amsl.com> <712C43CF-5F59-4F3D-B88F-11B3CEE52591@gbiv.com> <CAJE5ia98xTu3k1n1cNAzxsTVWKfba4J8bQjKL0=OF1Az5fWjBw@mail.gmail.com>
In-Reply-To: <CAJE5ia98xTu3k1n1cNAzxsTVWKfba4J8bQjKL0=OF1Az5fWjBw@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: websec <websec@ietf.org>, ietf@ietf.org
Subject: Re: [websec] Last Call: <draft-ietf-websec-origin-04.txt> (The Web Origin Concept) to Proposed Standard
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Sep 2011 19:59:03 -0000
On 2011-09-03 21:13, Adam Barth wrote: > On Fri, Sep 2, 2011 at 12:38 PM, Roy T. Fielding<fielding@gbiv.com> wrote: >> On Aug 23, 2011, at 2:19 PM, The IESG wrote: >>> The IESG has received a request from the Web Security WG (websec) to >>> consider the following document: >>> - 'The Web Origin Concept' >>> <draft-ietf-websec-origin-04.txt> as a Proposed Standard >> >> Sec 2.2: the definition of OWS includes a mistake that I just fixed in httpbis. >> >> OWS = *( [ obs-fold ] WSP ) >> ; "optional" whitespace >> obs-fold = CRLF >> >> should be >> >> OWS = *( HTAB / SP / obs-fold ) >> ; "optional" whitespace >> obs-fold = CRLF ( HTAB / SP ) >> ; obsolete line folding >> >> The problem isn't in OWS itself -- the above are equivalent. >> It is the definition of obs-fold that is wrong because it stands >> for the obsolete line folding allowed by RFC2616 (RFC822, etc.). >> A CRLF alone is not an obs-fold, so optimizing the ABNF in that >> way was wrong in httpbis. Likewise, I recommend replacing WSP with >> its equivalent ( HTAB / SP ) because the name is misleading and >> is only used in this one section. > > This text is intended to match the text from HTTPbis. The most > recently published HTTPbis documents still contain the old > construction: > > http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-16#section-1.2.2 > > Is there some way to see the as-yet-unpublished version with the > updated text so I can make sure to get it exactly right? <http://trac.tools.ietf.org/wg/httpbis/trac/browser/draft-ietf-httpbis/latest/p1-messaging.html> But then, this is still work-in-progress. >> OTOH, perhaps a simpler change is in order. The above definitions >> are only used once in the document (Section 7.1). Furthermore, >> since we are defining a new header field (and not all header fields), >> we can be more proscriptive in 7.1 and remove the section above. >> >> In 7.1, instead of >> >> origin = "Origin:" OWS origin-list-or-null OWS >> >> define it as >> >> origin = "Origin:" [ SP ] origin-list-or-null >> >> and then most of 2.2 can be removed. > > Is there some advantage in doing that? It seems better to define this > header in the same way we define all the other headers. If we do > something different here, we run the risk of confusing folks into > thinking that it requires some sort of different generation or parsing > than everything else. The best way to do it (as Roy agreed as well) is just to define the ABNF for the field-value. > ... Best regards, Julian
- [websec] Last Call: <draft-ietf-websec-origin-04.… The IESG
- Re: [websec] Last Call: <draft-ietf-websec-origin… Julian Reschke
- Re: [websec] Last Call: <draft-ietf-websec-origin… Adam Barth
- Re: [websec] Last Call: <draft-ietf-websec-origin… Julian Reschke
- Re: [websec] Last Call: <draft-ietf-websec-origin… Roy T. Fielding
- Re: [websec] Last Call: <draft-ietf-websec-origin… Roy T. Fielding
- Re: [websec] Last Call: <draft-ietf-websec-origin… Frank Ellermann
- Re: [websec] Last Call: <draft-ietf-websec-origin… Frank Ellermann
- Re: [websec] Last Call: <draft-ietf-websec-origin… Adam Barth
- Re: [websec] Last Call: <draft-ietf-websec-origin… Adam Barth
- Re: [websec] Last Call: <draft-ietf-websec-origin… Julian Reschke