NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 262 - Don't escape '%' when doing URL resolution. (bug 5802) (credit: hs)
Don't escape '%' when doing URL resolution. (bug 5802) (credit: hs)
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: Image and outline reports
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-22 15:35 CEST by Henri Sivonen
Modified: 2009-11-23 17:16 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-07-22 15:35:01 CEST
Index: source
===================================================================
--- source	(revision 1834)
+++ source	(revision 1835)
@@ -1228,9 +1228,9 @@
     <p>If parsing <var title="">url</var> resulted in a <span
     title="url-path">&lt;path&gt;</span> 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>
+    results from 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>
 
@@ -1245,14 +1245,14 @@
     <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
+     title="">//example.com/a^b&#x263a;c%FFd%z/?e</code>", then the
      <span title="url-path">&lt;path&gt;</span> 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>
 
@@ -1263,9 +1263,9 @@
     <p>If parsing <var title="">url</var> resulted in a <span
     title="url-query">&lt;query&gt;</span> 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>
+    results from 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>