- From: poot <cvsmail@w3.org>
- Date: Sat, 28 Jun 2008 08:29:06 +0900 (JST)
- To: public-html-diffs@w3.org
Make the \ -> / conversion not happen in mailto:, data:, etc. (whatwg
r1824) (changed by: Ian Hickson)
Diff: http://people.w3.org/mike/diffs/html5/spec/Overview.1.1013.html
Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1012&r2=1.1013&f=h
http://dev.w3.org/html5/spec/Overview.html
http://html5.org/tools/web-apps-tracker?from=1823&to=1824
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1012
retrieving revision 1.1013
diff -u -d -r1.1012 -r1.1013
--- Overview.html 27 Jun 2008 23:04:56 -0000 1.1012
+++ Overview.html 27 Jun 2008 23:27:15 -0000 1.1013
@@ -2834,10 +2834,6 @@
character">space characters</a> from <var title="">url</var>.
<li>
- <p>Replace all U+005C REVERSE SOLIDUS (\) characters in <var
- title="">url</var> with U+002F SOLIDUS (/) characters.
-
- <li>
<p>Parse <var title="">url</var> in the manner defined by RFC 3986, with
the following exceptions:</p>
@@ -2939,6 +2935,9 @@
<p>The substring matched by the <fragment> production, if any.
</dl>
</ol>
+ <!-- XXX we might want to define "server-based naming authority",
+ it's not clear RFC3986 does a good job of defining that anymore
+ (earlier URI specs did) -->
<h4 id=resolving><span class=secno>2.3.3 </span>Resolving URLs</h4>
@@ -3116,13 +3115,21 @@
<p class=example>For instance, if an absolute URI that would be returned
by the above algorithm violates the restrictions specific to its scheme,
e.g. a <code title="">data:</code> URI using the "<code
- title="">//</code>" naming authority syntax, then user agents are to
- treat this as an error instead.<!-- RFC 3986, 3.1
- Scheme --></p>
+ title="">//</code>" server-based naming authority syntax, then user
+ agents are to treat this as an error instead.<!-- RFC
+ 3986, 3.1 Scheme --></p>
<li>
- <p>Return the target URI (<var title="">T</var>) returned by the Relative
- Resolution algorithm.
+ <p>Let <var title="">result</var> be the target URI (<var
+ title="">T</var>) returned by the Relative Resolution algorithm.
+
+ <li>
+ <p>If <var title="">result</var> uses a scheme with a server-based naming
+ authority, replace all U+005C REVERSE SOLIDUS (\) characters in <var
+ title="">result</var> with U+002F SOLIDUS (/) characters.
+
+ <li>
+ <p>Return <var title="">result</var>.
</ol>
<p>A <a href="#url">URL</a> is an <dfn id=absolute>absolute URL</dfn> if <a
Received on Friday, 27 June 2008 23:29:44 UTC