Navigation Menu

Skip to content

Commit

Permalink
[c] (0) Make <a href='?guitar=2&amp=1&pedal=6'> a parse error since I…
Browse files Browse the repository at this point in the history
…E9 misparses it '?guitar=2&=1&pedal=6' apparently.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19102
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@7679 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 31, 2013
1 parent 211d42d commit 1eb194f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion complete.html
Expand Up @@ -90137,9 +90137,14 @@ <h5 id=tokenizing-character-references><span class=secno>12.2.4.69 </span>Tokeni
SEMICOLON character (;), and the next character is either a U+003D EQUALS SIGN character (=) or
an <a href=#alphanumeric-ascii-characters title="alphanumeric ASCII characters">alphanumeric ASCII character</a>, then, for
historical reasons, all the characters that were matched after the U+0026 AMPERSAND character
(&amp;) must be unconsumed, and nothing is returned.</p> <!-- "=" added because of
(&amp;) must be unconsumed, and nothing is returned. <!-- "=" added because of
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9207#c5 -->

However, if this next character is in fact a U+003D EQUALS SIGN character (=), then this is a
<a href=#parse-error>parse error</a>, because some legacy user agents <!-- IE, version 9 and before --> will
misinterpret the markup in those cases.</p> <!-- v2: should make this no longer a conformance
error at some point in the future; revisit in 2015? -->

<p>Otherwise, a character reference is parsed. If the last
character matched is not a U+003B SEMICOLON character (;), there
is a <a href=#parse-error>parse error</a>.</p>
Expand Down
7 changes: 6 additions & 1 deletion index
Expand Up @@ -90137,9 +90137,14 @@ dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>
SEMICOLON character (;), and the next character is either a U+003D EQUALS SIGN character (=) or
an <a href=#alphanumeric-ascii-characters title="alphanumeric ASCII characters">alphanumeric ASCII character</a>, then, for
historical reasons, all the characters that were matched after the U+0026 AMPERSAND character
(&amp;) must be unconsumed, and nothing is returned.</p> <!-- "=" added because of
(&amp;) must be unconsumed, and nothing is returned. <!-- "=" added because of
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9207#c5 -->

However, if this next character is in fact a U+003D EQUALS SIGN character (=), then this is a
<a href=#parse-error>parse error</a>, because some legacy user agents <!-- IE, version 9 and before --> will
misinterpret the markup in those cases.</p> <!-- v2: should make this no longer a conformance
error at some point in the future; revisit in 2015? -->

<p>Otherwise, a character reference is parsed. If the last
character matched is not a U+003B SEMICOLON character (;), there
is a <a href=#parse-error>parse error</a>.</p>
Expand Down
7 changes: 6 additions & 1 deletion source
Expand Up @@ -104601,9 +104601,14 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
SEMICOLON character (;), and the next character is either a U+003D EQUALS SIGN character (=) or
an <span title="alphanumeric ASCII characters">alphanumeric ASCII character</span>, then, for
historical reasons, all the characters that were matched after the U+0026 AMPERSAND character
(&amp;) must be unconsumed, and nothing is returned.</p> <!-- "=" added because of
(&amp;) must be unconsumed, and nothing is returned. <!-- "=" added because of
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9207#c5 -->

However, if this next character is in fact a U+003D EQUALS SIGN character (=), then this is a
<span>parse error</span>, because some legacy user agents <!-- IE, version 9 and before --> will
misinterpret the markup in those cases.</p> <!-- v2: should make this no longer a conformance
error at some point in the future; revisit in 2015? -->

<p>Otherwise, a character reference is parsed. If the last
character matched is not a U+003B SEMICOLON character (;), there
is a <span>parse error</span>.</p>
Expand Down

0 comments on commit 1eb194f

Please sign in to comment.