Changeset 55


Ignore:
Timestamp:
Mar 29, 2011, 2:13:37 AM (9 years ago)
Author:
duerst@…
Message:
  • Disallowed "#" in fragments to be consistent with RFC 3986.
  • Added href-ifragment production to hypertext reference syntax and added "#" there to allow it in bugwards compatible systems.

This addresses issue #42

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-iri-3987bis/draft-ietf-iri-3987bis.xml

    r54 r55  
    508508iquery         = *( ipchar / iprivate / "/" / "?" )
    509509
    510 ifragment      = *( ipchar / "/" / "?" / "#" )
     510ifragment      = *( ipchar / "/" / "?" )
    511511
    512512iunreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~" / ucschar
     
    18471847<figure>
    18481848<preamble>The syntax for Web Addresses is obtained by replacing the 'ucschar',
    1849   pct-form, and path-sep rules with the href-ucschar, href-pct-form, and href-path-sep
     1849  pct-form, path-sep, and ifragment rules with the href-ucschar, href-pct-form, href-path-sep,
     1850  and href-ifragment
    18501851  rules below. In addition, some characters are stripped.</preamble>
    18511852
    18521853<artwork type='abnf'>
    1853   href-ucschar  = " " / "&lt;" / "&gt;" / DQUOTE / "{" / "}" / "|"
    1854                    / "\" / "^" / "`" / %x0-1F / %x7F-D7FF
    1855                    / %xE000-FFFD / %x10000-10FFFF
    1856   href-pct-form = pct-encoded / "%"
    1857   href-path-sep = "/" / "\"
    1858   href-strip    = &lt;to be done&gt;
     1854  href-ucschar   = " " / "&lt;" / "&gt;" / DQUOTE / "{" / "}" / "|"
     1855                 / "\" / "^" / "`" / %x0-1F / %x7F-D7FF
     1856                 / %xE000-FFFD / %x10000-10FFFF
     1857  href-pct-form  = pct-encoded / "%"
     1858  href-path-sep  = "/" / "\"
     1859  href-ifragment = *( ipchar / "/" / "?" / "#" )  ; adding "#"
     1860  href-strip     = &lt;to be done&gt;
    18591861</artwork>
    18601862
Note: See TracChangeset for help on using the changeset viewer.