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

Ticket #431: 431.diff

File 431.diff, 6.5 KB (added by julian.reschke@gmx.de, 22 months ago)

Proposed patch

  • p1-messaging.xml

     
    778778  <x:anchor-alias value="relative-part"/> 
    779779  <x:anchor-alias value="authority"/> 
    780780  <x:anchor-alias value="path-abempty"/> 
    781   <x:anchor-alias value="path-absolute"/> 
    782781  <x:anchor-alias value="port"/> 
    783782  <x:anchor-alias value="query"/> 
     783  <x:anchor-alias value="segment"/> 
    784784  <x:anchor-alias value="uri-host"/> 
     785  <x:anchor-alias value="absolute-path"/> 
    785786  <x:anchor-alias value="partial-URI"/> 
    786787<t> 
    787788   This specification adopts the definitions of "URI-reference", 
    788789   "absolute-URI", "relative-part", "port", "host", 
    789    "path-abempty", "path-absolute", "query", and "authority" from the 
     790   "path-abempty", "query", "segment", and "authority" from the 
    790791   URI generic syntax. 
    791    In addition, we define a partial-URI rule for protocol elements 
     792   In addition, we define an absolute-path rule (that differs from  
     793   RFC 3986's path-absolute in that it allows a leading "//") 
     794   and a partial-URI rule for protocol elements 
    792795   that allow a relative URI but not a fragment. 
    793796</t> 
    794 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="URI-reference"><!--exported production--></iref><iref primary="true" item="Grammar" subitem="absolute-URI"/><iref primary="true" item="Grammar" subitem="authority"/><iref primary="true" item="Grammar" subitem="path-absolute"/><iref primary="true" item="Grammar" subitem="port"/><iref primary="true" item="Grammar" subitem="query"/><iref primary="true" item="Grammar" subitem="uri-host"/><iref primary="true" item="Grammar" subitem="partial-URI"><!--exported production--></iref> 
     797<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="URI-reference"><!--exported production--></iref><iref primary="true" item="Grammar" subitem="absolute-URI"/><iref primary="true" item="Grammar" subitem="authority"/><iref primary="true" item="Grammar" subitem="absolute-path"/><iref primary="true" item="Grammar" subitem="port"/><iref primary="true" item="Grammar" subitem="query"/><iref primary="true" item="Grammar" subitem="segment"/><iref primary="true" item="Grammar" subitem="uri-host"/><iref primary="true" item="Grammar" subitem="partial-URI"><!--exported production--></iref> 
    795798  <x:ref>URI-reference</x:ref> = &lt;URI-reference, defined in <xref target="RFC3986" x:fmt="," x:sec="4.1"/>&gt; 
    796799  <x:ref>absolute-URI</x:ref>  = &lt;absolute-URI, defined in <xref target="RFC3986" x:fmt="," x:sec="4.3"/>&gt; 
    797800  <x:ref>relative-part</x:ref> = &lt;relative-part, defined in <xref target="RFC3986" x:fmt="," x:sec="4.2"/>&gt; 
    798801  <x:ref>authority</x:ref>     = &lt;authority, defined in <xref target="RFC3986" x:fmt="," x:sec="3.2"/>&gt; 
    799802  <x:ref>path-abempty</x:ref>  = &lt;path-abempty, defined in <xref target="RFC3986" x:fmt="," x:sec="3.3"/>&gt; 
    800   <x:ref>path-absolute</x:ref> = &lt;path-absolute, defined in <xref target="RFC3986" x:fmt="," x:sec="3.3"/>&gt; 
    801803  <x:ref>port</x:ref>          = &lt;port, defined in <xref target="RFC3986" x:fmt="," x:sec="3.2.3"/>&gt; 
    802804  <x:ref>query</x:ref>         = &lt;query, defined in <xref target="RFC3986" x:fmt="," x:sec="3.4"/>&gt; 
     805  <x:ref>segment</x:ref>       = &lt;segment, defined in <xref target="RFC3986" x:fmt="," x:sec="3.3"/>&gt; 
    803806  <x:ref>uri-host</x:ref>      = &lt;host, defined in <xref target="RFC3986" x:fmt="," x:sec="3.2.2"/>&gt; 
    804807   
     808  <x:ref>absolute-path</x:ref> = "/" [ segment *( "/" segment ) ] 
    805809  <x:ref>partial-URI</x:ref>   = relative-part [ "?" query ] 
    806810</artwork></figure> 
    807811<t> 
     
    22292233                 / <x:ref>authority-form</x:ref> 
    22302234                 / <x:ref>asterisk-form</x:ref> 
    22312235 
    2232   <x:ref>origin-form</x:ref>    = <x:ref>path-absolute</x:ref> [ "?" <x:ref>query</x:ref> ] 
     2236  <x:ref>origin-form</x:ref>    = <x:ref>absolute-path</x:ref> [ "?" <x:ref>query</x:ref> ] 
    22332237  <x:ref>absolute-form</x:ref>  = <x:ref>absolute-URI</x:ref> 
    22342238  <x:ref>authority-form</x:ref> = <x:ref>authority</x:ref> 
    22352239  <x:ref>asterisk-form</x:ref>  = "*" 
     
    26462650   host name if it is a fully qualified domain name. 
    26472651</t> 
    26482652<t> 
    2649    A proxy &MUST-NOT; modify the "path-absolute" and "query" parts of the 
     2653   A proxy &MUST-NOT; modify the "absolute-path" and "query" parts of the 
    26502654   received request-target when forwarding it to the next inbound server, 
    26512655   except as noted above to replace an empty path with "/" or "*". 
    26522656</t> 
     
    48564860  (<xref target="chunked.encoding"/>) 
    48574861</t> 
    48584862<t> 
    4859   The path-absolute + query components of RFC3986 have been used to define the 
     4863  The segment + query components of RFC3986 have been used to define the 
    48604864  request-target, instead of abs_path from RFC 1808. 
    48614865  (<xref target="request-target"/>) 
    48624866</t> 
     
    50295033 
    50305034<x:ref>absolute-URI</x:ref> = &lt;absolute-URI, defined in [RFC3986], Section 4.3&gt; 
    50315035<x:ref>absolute-form</x:ref> = absolute-URI 
     5036absolute-path = "/" [ segment *( "/" segment ) ] 
    50325037<x:ref>asterisk-form</x:ref> = "*" 
    50335038<x:ref>attribute</x:ref> = token 
    50345039<x:ref>authority</x:ref> = &lt;authority, defined in [RFC3986], Section 3.2&gt; 
     
    50635068 
    50645069<x:ref>obs-fold</x:ref> = CRLF ( SP / HTAB ) 
    50655070<x:ref>obs-text</x:ref> = %x80-FF 
    5066 <x:ref>origin-form</x:ref> = path-absolute [ "?" query ] 
     5071<x:ref>origin-form</x:ref> = absolute-path [ "?" query ] 
    50675072 
    50685073<x:ref>partial-URI</x:ref> = relative-part [ "?" query ] 
    50695074<x:ref>path-abempty</x:ref> = &lt;path-abempty, defined in [RFC3986], Section 3.3&gt; 
    5070 <x:ref>path-absolute</x:ref> = &lt;path-absolute, defined in [RFC3986], Section 3.3&gt; 
    50715075<x:ref>port</x:ref> = &lt;port, defined in [RFC3986], Section 3.2.3&gt; 
    50725076<x:ref>protocol</x:ref> = protocol-name [ "/" protocol-version ] 
    50735077<x:ref>protocol-name</x:ref> = token 
     
    50955099<x:ref>request-target</x:ref> = origin-form / absolute-form / authority-form / 
    50965100 asterisk-form 
    50975101 
     5102<x:ref>segment</x:ref> = &lt;segment, defined in [RFC3986], Section 3.3&gt; 
    50985103<x:ref>special</x:ref> = "(" / ")" / "&lt;" / "&gt;" / "@" / "," / ";" / ":" / "\" / 
    50995104 DQUOTE / "/" / "[" / "]" / "?" / "=" / "{" / "}" 
    51005105<x:ref>start-line</x:ref> = request-line / status-line 
     
    52045209      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/420"/>: 
    52055210      "Content-Length SHOULD be sent" 
    52065211    </t> 
     5212    <t> 
     5213      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/431"/>: 
     5214      "origin-form does not allow path starting with "//"" 
     5215    </t> 
    52075216  </list> 
    52085217</t> 
    52095218</section>