* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #31 (closed design: fixed)

Opened 7 years ago

Last modified 7 years ago

qdtext BNF

Reported by: mnot@pobox.com Owned by: julian.reschke@gmx.de
Priority: Milestone: 01
Component: p1-messaging Severity:
Keywords: Cc:
Origin: http://www.w3.org/mid/20040315171054.GA9731@mail.shareable.org

Description

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 wrote a regular expression based on the RFC 2616 definition, and that allows "foo\" as a quoted-string. That's not intended, is it?

Change History

comment:1 Changed 7 years ago by mnot@pobox.com

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).

comment:2 Changed 7 years ago by julian.reschke@gmx.de

  • Owner set to julian.reschke@gmx.de
  • Component set to messaging
  • Milestone set to 01

comment:3 Changed 7 years ago by julian.reschke@gmx.de

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 Changed 7 years ago by julian.reschke@gmx.de

Fixed in [128]

comment:5 Changed 7 years ago by fielding@gbiv.com

  • version set to 00-draft
Note: See TracTickets for help on using tickets.