- From: Jamie Lokier <jamie@shareable.org>
- Date: Mon, 15 Mar 2004 17:10:54 +0000
- To: ietf-http-wg@w3.org
RFC 2616 reads:
A string of text is parsed as a single word if it is quoted using
double-quote marks.
quoted-string = ( <"> *(qdtext | quoted-pair ) <"> )
qdtext = <any TEXT except <">>
The backslash character ("\") MAY be used as a single-character
quoting mechanism only within quoted-string and comment constructs.
quoted-pair = "\" CHAR
I think the qdtext syntax should say this instead:
qdtext = <any TEXT except <"> and "\">
(It might also want to say "excluding" instead of "except", for
consistency with ctext a few lines earlier).
I know it seems trivial. I just noticed because I wrote a regular
expression based on the RFC 2616 definition, and that allows "foo\"
as a quoted-string. That's not intended, is it?
Btw, is there a specific place to send errata suggestions?
-- Jamie
Received on Monday, 15 March 2004 12:10:56 UTC