[html5] r1825 - [gw] (2) If a character in a URL's query component can't be expressed in the pag [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Jun 28 02:01:48 PDT 2008


Author: ianh
Date: 2008-06-28 02:01:48 -0700 (Sat, 28 Jun 2008)
New Revision: 1825

Modified:
   index
   source
Log:
[gw] (2) If a character in a URL's query component can't be expressed in the page encoding, replace it with a question mark (matches IE and Opera)

Modified: index
===================================================================
--- index	2008-06-27 23:24:41 UTC (rev 1824)
+++ index	2008-06-28 09:01:48 UTC (rev 1825)
@@ -25,7 +25,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 27 June
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 28 June
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -2989,6 +2989,11 @@
      original <query> production defined in RFC 3986:</p>
 
     <ol>
+     <li>If the character in question cannot be expressed in the encoding
+      <var title="">encoding</var>, then replace it with a single 0x3F octet
+      (an ASCII question mark) and skip the remaining substeps for this
+      character.
+
      <li>Encode the character into a sequence of octets as defined by the
       encoding <var title="">encoding</var>.
 

Modified: source
===================================================================
--- source	2008-06-27 23:24:41 UTC (rev 1824)
+++ source	2008-06-28 09:01:48 UTC (rev 1825)
@@ -1266,6 +1266,11 @@
 
     <ol>
 
+     <li>If the character in question cannot be expressed in the
+     encoding <var title="">encoding</var>, then replace it with a
+     single 0x3F octet (an ASCII question mark) and skip the remaining
+     substeps for this character.</li>
+
      <li>Encode the character into a sequence of octets as defined by
      the encoding <var title="">encoding</var>.</li>
 




More information about the Commit-Watchers mailing list