Changeset 574


Ignore:
Timestamp:
May 3, 2009, 9:44:10 AM (10 years ago)
Author:
julian.reschke@…
Message:

Disallow \ in ctext, add prose explanation of ABNF, remove unneeded "*" from ctext and qdtext (related to #162)

Location:
draft-ietf-httpbis/latest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p1-messaging.html

    r573 r574  
    471471         <tr>
    472472            <td class="header left"></td>
    473             <td class="header right">May 1, 2009</td>
     473            <td class="header right">May 3, 2009</td>
    474474         </tr>
    475475      </table>
     
    782782      </div>
    783783      <div id="rfc.figure.u.7"></div><pre class="inline"><span id="rfc.iref.g.18"></span><span id="rfc.iref.g.19"></span><span id="rfc.iref.g.20"></span>  <a href="#rule.quoted-string" class="smpl">quoted-string</a>  = <a href="#core.rules" class="smpl">DQUOTE</a> *( <a href="#rule.quoted-string" class="smpl">qdtext</a> / <a href="#rule.quoted-pair" class="smpl">quoted-pair</a> ) <a href="#core.rules" class="smpl">DQUOTE</a>
    784   <a href="#rule.quoted-string" class="smpl">qdtext</a>         = *( <a href="#rule.whitespace" class="smpl">OWS</a> / %x21 / %x23-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a> )
     784  <a href="#rule.quoted-string" class="smpl">qdtext</a>         = <a href="#rule.whitespace" class="smpl">OWS</a> / %x21 / %x23-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a>
     785                 ; <a href="#rule.whitespace" class="smpl">OWS</a> / &lt;<a href="#core.rules" class="smpl">VCHAR</a> except <a href="#core.rules" class="smpl">DQUOTE</a> and "\"&gt; / <a href="#rule.quoted-string" class="smpl">obs-text</a>
    785786  <a href="#rule.quoted-string" class="smpl">obs-text</a>       = %x80-FF
    786787</pre><div id="rule.quoted-pair">
     
    12071208      </div>
    12081209      <div id="rfc.figure.u.31"></div><pre class="inline"><span id="rfc.iref.g.69"></span><span id="rfc.iref.g.70"></span>  <a href="#rule.comment" class="smpl">comment</a>        = "(" *( <a href="#rule.comment" class="smpl">ctext</a> / <a href="#rule.quoted-pair" class="smpl">quoted-pair</a> / <a href="#rule.comment" class="smpl">comment</a> ) ")"
    1209   <a href="#rule.comment" class="smpl">ctext</a>          = *( <a href="#rule.whitespace" class="smpl">OWS</a> / %x21-27 / %x2A-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a> )
     1210  <a href="#rule.comment" class="smpl">ctext</a>          = <a href="#rule.whitespace" class="smpl">OWS</a> / %x21-27 / %x2A-5B / %x5D-7E / <a href="#rule.quoted-string" class="smpl">obs-text</a>
     1211                 ; <a href="#rule.whitespace" class="smpl">OWS</a> / &lt;<a href="#core.rules" class="smpl">VCHAR</a> except "(", ")", and "\"&gt; / <a href="#rule.quoted-string" class="smpl">obs-text</a>
    12101212</pre><p id="rfc.section.4.2.p.9">The order in which header fields with differing field names are received is not significant. However, it is "good practice"
    12111213         to send general-header fields first, followed by request-header or response-header fields, and ending with the entity-header
     
    27002702<a href="#rule.comment" class="smpl">comment</a> = "(" *( ctext / quoted-pair / comment ) ")"
    27012703<a href="#header.connection" class="smpl">connection-token</a> = token
    2702 <a href="#rule.comment" class="smpl">ctext</a> = *( OWS / %x21-27 / %x2A-7E / obs-text )
     2704<a href="#rule.comment" class="smpl">ctext</a> = OWS / %x21-27 / %x2A-5B / %x5D-7E / obs-text
    27032705
    27042706<a href="#full.date" class="smpl">date1</a> = 2DIGIT SP month SP 4DIGIT
     
    27512753<a href="#header.via" class="smpl">pseudonym</a> = token
    27522754
    2753 <a href="#rule.quoted-string" class="smpl">qdtext</a> = *( OWS / "!" / %x23-5B / %x5D-7E / obs-text )
     2755<a href="#rule.quoted-string" class="smpl">qdtext</a> = OWS / "!" / %x23-5B / %x5D-7E / obs-text
    27542756<a href="#uri" class="smpl">query</a> = &lt;query, defined in [RFC3986], Section 3.4&gt;
    27552757<a href="#rule.quoted-pair" class="smpl">quoted-pair</a> = "\" quoted-text
     
    29972999      </ul>
    29983000      <h2 id="rfc.section.E.8"><a href="#rfc.section.E.8">E.8</a>&nbsp;<a id="changes.since.06" href="#changes.since.06">Since draft-ietf-httpbis-p1-messaging-06</a></h2>
     3001      <p id="rfc.section.E.8.p.1">Closed issues: </p>
     3002      <ul>
     3003         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/162">http://tools.ietf.org/wg/httpbis/trac/ticket/162</a>&gt;: "comment ABNF"
     3004         </li>
     3005      </ul>
    29993006      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
    30003007      <p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.U">U</a> <a href="#rfc.index.V">V</a>
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r573 r574  
    454454<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="quoted-string"/><iref primary="true" item="Grammar" subitem="qdtext"/><iref primary="true" item="Grammar" subitem="obs-text"/>
    455455  <x:ref>quoted-string</x:ref>  = <x:ref>DQUOTE</x:ref> *( <x:ref>qdtext</x:ref> / <x:ref>quoted-pair</x:ref> ) <x:ref>DQUOTE</x:ref>
    456   <x:ref>qdtext</x:ref>         = *( <x:ref>OWS</x:ref> / %x21 / %x23-5B / %x5D-7E / <x:ref>obs-text</x:ref> )
     456  <x:ref>qdtext</x:ref>         = <x:ref>OWS</x:ref> / %x21 / %x23-5B / %x5D-7E / <x:ref>obs-text</x:ref>
     457                 ; <x:ref>OWS</x:ref> / &lt;<x:ref>VCHAR</x:ref> except <x:ref>DQUOTE</x:ref> and "\"&gt; / <x:ref>obs-text</x:ref>
    457458  <x:ref>obs-text</x:ref>       = %x80-FF
    458459</artwork></figure>
     
    12901291<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="comment"/><iref primary="true" item="Grammar" subitem="ctext"/>
    12911292  <x:ref>comment</x:ref>        = "(" *( <x:ref>ctext</x:ref> / <x:ref>quoted-pair</x:ref> / <x:ref>comment</x:ref> ) ")"
    1292   <x:ref>ctext</x:ref>          = *( <x:ref>OWS</x:ref> / %x21-27 / %x2A-7E / <x:ref>obs-text</x:ref> )
     1293  <x:ref>ctext</x:ref>          = <x:ref>OWS</x:ref> / %x21-27 / %x2A-5B / %x5D-7E / <x:ref>obs-text</x:ref>
     1294                 ; <x:ref>OWS</x:ref> / &lt;<x:ref>VCHAR</x:ref> except "(", ")", and "\"&gt; / <x:ref>obs-text</x:ref>
    12931295</artwork></figure>
    12941296<t>
     
    44194421<x:ref>comment</x:ref> = "(" *( ctext / quoted-pair / comment ) ")"
    44204422<x:ref>connection-token</x:ref> = token
    4421 <x:ref>ctext</x:ref> = *( OWS / %x21-27 / %x2A-7E / obs-text )
     4423<x:ref>ctext</x:ref> = OWS / %x21-27 / %x2A-5B / %x5D-7E / obs-text
    44224424
    44234425<x:ref>date1</x:ref> = 2DIGIT SP month SP 4DIGIT
     
    44704472<x:ref>pseudonym</x:ref> = token
    44714473
    4472 <x:ref>qdtext</x:ref> = *( OWS / "!" / %x23-5B / %x5D-7E / obs-text )
     4474<x:ref>qdtext</x:ref> = OWS / "!" / %x23-5B / %x5D-7E / obs-text
    44734475<x:ref>query</x:ref> = &lt;query, defined in [RFC3986], Section 3.4&gt;
    44744476<x:ref>quoted-pair</x:ref> = "\" quoted-text
     
    45434545</artwork></figure></section>
    45444546
     4547
    45454548<section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log">
    45464549
     
    49044907<section title="Since draft-ietf-httpbis-p1-messaging-06" anchor="changes.since.06">
    49054908<t>
     4909  Closed issues:
     4910  <list style="symbols">
     4911    <t>
     4912      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/162"/>:
     4913      "comment ABNF"
     4914    </t>
     4915  </list>
    49064916</t>
    49074917</section>
Note: See TracChangeset for help on using the changeset viewer.