W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

Re: Ticket 162, was: Ambiguity in ABNF for comment

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 01 May 2009 15:30:02 +0200
Message-ID: <49FAF95A.9080004@gmx.de>
To: Thomas Nordin <nordin@rbdev.com>
CC: ietf-http-wg@w3.org
Julian Reschke wrote:
> Thomas Nordin wrote:
>> The ABNF in 
>> http://www.ietf.org/internet-drafts/draft-ietf-httpbis-p1-messaging-06.txt 
>> (section 4.2) for "comment" seems to have the same problem as 
>> mentioned in Ticket #31 for "quoted-string". I.e. "ctext" includes the 
>> "\" character and thus "(\)" is ambiguous, either "\)" is a 
>> "quoted-pair" and the comment is still open or it is a "ctext" 
>> backslash followed by ")" thus ending the comment.
>>
>> Proposed solution: exclude "\" from ctext.
> 
> Agreed. I have created ticket 162 
> (<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/162>), and will 
> change ctext to exclude "\" soonish.

Proposed patch; change ctext to say:

       ctext          = *( OWS / %x21-27 / %x2A-5B / %x5D-7E / obs-text )

(see also 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/162/162.diff>)

BR, Julian
Received on Friday, 1 May 2009 13:31:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:02 GMT