Skip to content

Commit

Permalink
[gw] (2) If a character in a URL's query component can't be expressed…
Browse files Browse the repository at this point in the history
… in the page encoding, replace it with a question mark (matches IE and Opera)

git-svn-id: http://svn.whatwg.org/webapps@1825 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 28, 2008
1 parent bb24856 commit c069c76
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index
Expand Up @@ -25,7 +25,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 27 June
<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 28 June
2008</h2>

<p>You can take part in this work. <a
Expand Down Expand Up @@ -2989,6 +2989,11 @@
original &lt;query&gt; 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>.

Expand Down
5 changes: 5 additions & 0 deletions source
Expand Up @@ -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>

Expand Down

0 comments on commit c069c76

Please sign in to comment.