[Bug 12384] Validator rejects a link href with an ampersand in the query string

https://www.w3.org/Bugs/Public/show_bug.cgi?id=12384

Jukka K. Korpela <jukka.k.korpela@kolumbus.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |jukka.k.korpela@kolumbus.fi
         Resolution|INVALID                     |---

--- Comment #2 from Jukka K. Korpela <jukka.k.korpela@kolumbus.fi> ---
In HTML5, when HTML syntax is used, the construct is valid, because the syntax
rules forbid only “ambiguous ampersands”:
http://www.w3.org/TR/html5/syntax.html#attributes-0

The ampersand is not ambiguous in this case, or in other common cases where a
query part of a URL contains fields separated by ampersands. An “ambiguous
ampersand” is by definition “a U+0026 AMPERSAND character (&) that is followed
by one or more alphanumeric ASCII characters, followed by a ";" (U+003B)
character, where these characters do not match any of the names given in the
named character references section”. There is no semicolon here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 23 June 2014 12:48:21 UTC