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

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 UTC