W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2011

[Bug 14361] New: & in a href is flaged as invalid

From: <bugzilla@jessica.w3.org>
Date: Mon, 03 Oct 2011 07:25:37 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-14361-169@http.www.w3.org/Bugs/Public/>

           Summary: & in a href is flaged as invalid
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTML5
        AssignedTo: mike@w3.org
        ReportedBy: martin.barker@unit4.com
         QAContact: www-validator-cvs@w3.org

The Validator flags an & in a href as invalid this would be the only place it
would be valid as if you tryed to send &amp; though the address bar any thing
that followed it would not be sent correctly as ; is a break in a GET parameter
sent to a page

Example Code
<a class="thickbox"

Given Result
 Line 44, Column 731: & did not start a character reference. (& probably should
have been escaped as &amp;.) 
/index.php/login/#TB_inline?height=200&width=200&inlineId=form">Log In</a></li

Expected Result
Nothing shown up with regards to the & in a href=""

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 3 October 2011 07:25:39 UTC

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