- From: poot <cvsmail@w3.org>
- Date: Tue, 1 Jul 2008 08:54:47 +0900 (JST)
- To: public-html-diffs@w3.org
Don't escape '%' when doing URL resolution. (bug 5802) (credit: hs)
(whatwg r1835) (changed by: Ian Hickson)
Diffs for this change per section:
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1024.html#resolve
Current content per affected section:
http://dev.w3.org/html5/spec/Overview.html#resolve
Previously published WD content per affected section:
http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#resolve
Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1023&r2=1.1024&f=h
http://html5.org/tools/web-apps-tracker?from=1834&to=1835
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1023
retrieving revision 1.1024
diff -u -d -r1.1023 -r1.1024
--- Overview.html 30 Jun 2008 23:46:08 -0000 1.1023
+++ Overview.html 30 Jun 2008 23:52:15 -0000 1.1024
@@ -3066,8 +3066,9 @@
<p>If parsing <var title="">url</var> resulted in a <a href="#ltpathgt"
title=url-path><path></a> component, then replace the matching
substring of <var title="">url</var> with the string that results from
- applying the following steps to each character that doesn't match the
- original <path> production defined in RFC 3986:</p>
+ applying the following steps to each character other than U+0025 PERCENT
+ SIGN (%) that doesn't match the original <path> production defined
+ in RFC 3986:</p>
<ol>
<li>Encode the character into a sequence of octets as defined by UTF-8.
@@ -3078,22 +3079,23 @@
<div class=example>
<p>For instance if <var title="">url</var> was "<code
- title="">//example.com/a^b☺c%FFd/?e</code>", then the <a
+ title="">//example.com/a^b☺c%FFd%z/?e</code>", then the <a
href="#ltpathgt" title=url-path><path></a> component's substring
- would be "<code title="">/a^b☺c%FFd/</code>" and the two
+ would be "<code title="">/a^b☺c%FFd%z/</code>" and the two
characters that would have to be escaped would be "<code
title="">^</code>" and "<code title="">☺</code>". The result
after this step was applied would therefore be that <var
title="">url</var> now had the value "<code
- title="">//example.com/a%5Eb%E2%98%BAc%FFd/?e</code>".</p>
+ title="">//example.com/a%5Eb%E2%98%BAc%FFd%z/?e</code>".</p>
</div>
<li>
<p>If parsing <var title="">url</var> resulted in a <a href="#ltquerygt"
title=url-query><query></a> component, then replace the matching
substring of <var title="">url</var> with the string that results from
- applying the following steps to each character that doesn't match the
- original <query> production defined in RFC 3986:</p>
+ applying the following steps to each character other than U+0025 PERCENT
+ SIGN (%) that doesn't match the original <query> production
+ defined in RFC 3986:</p>
<ol>
<li>If the character in question cannot be expressed in the encoding
Received on Monday, 30 June 2008 23:55:26 UTC