W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2014

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 23 Jun 2014 12:48:19 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-12384-169-OXqYWVou8H@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:57 UTC