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

Ambiguity in ABNF for comment

From: Thomas Nordin <nordin@rbdev.com>
Date: Thu, 30 Apr 2009 07:54:46 +0000
Message-Id: <6D859CB2-0C0D-4088-ACCE-376C3ADFB75D@rbdev.com>
To: ietf-http-wg@w3.org
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.
Received on Thursday, 30 April 2009 09:32:18 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:19 UTC