W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2008

html5/spec Overview.html,1.1023,1.1024

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 30 Jun 2008 23:52:17 +0000
To: public-html-commits@w3.org
Message-Id: <E1KDTAP-0003El-Ia@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv12390

Modified Files:
	Overview.html 
Log Message:
Don't escape '%' when doing URL resolution. (bug 5802) (credit: hs) (whatwg r1835)

Index: Overview.html
===================================================================
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>&lt;path&gt;</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 &lt;path&gt; 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 &lt;path&gt; 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&#x263a;c%FFd/?e</code>", then the <a
+      title="">//example.com/a^b&#x263a;c%FFd%z/?e</code>", then the <a
       href="#ltpathgt" title=url-path>&lt;path&gt;</a> component's substring
-      would be "<code title="">/a^b&#x263a;c%FFd/</code>" and the two
+      would be "<code title="">/a^b&#x263a;c%FFd%z/</code>" and the two
       characters that would have to be escaped would be "<code
       title="">^</code>" and "<code title="">&#x263a;</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>&lt;query&gt;</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 &lt;query&gt; 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 &lt;query&gt; 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:52:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:57 GMT