Ignore:
Timestamp:
Feb 11, 2013, 6:10:03 AM (7 years ago)
Author:
julian.reschke@…
Message:

allow origin-form to use a path starting with "" (see #431)

File:
1 edited

Legend:

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

    r2178 r2181  
    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;
     
    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> = 1*( "/" segment )
    805809  <x:ref>partial-URI</x:ref>   = relative-part [ "?" query ]
    806810</artwork></figure>
     
    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>
     
    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 "*".
     
    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"/>)
     
    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
     5036<x:ref>absolute-path</x:ref> = 1*( "/" segment )
    50325037<x:ref>asterisk-form</x:ref> = "*"
    50335038<x:ref>attribute</x:ref> = token
     
    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 ]
     
    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 / "/" / "[" / "]" / "?" / "=" / "{" / "}"
     
    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>
Note: See TracChangeset for help on using the changeset viewer.