[Webkit-unassigned] [Bug 11655] New: URIs not correctly handled in XHTML document anchor tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 20 08:33:55 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11655

           Summary: URIs not correctly handled in XHTML document anchor tags
           Product: WebKit
           Version: 419.x
          Platform: Macintosh
               URL: http://bowmore.cs.st-
                    andrews.ac.uk/safari_ampersand_bug.xhtml
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jrn2005 at cs.st-andrews.ac.uk


In XHTML documents, Safari doesn't correctly handle ampersands in the href
attribute of anchor tags. If ampersands are encoded (which, from what I can
tell of the XHTML and XML specs, is strictly speaking wrong, but nevermind)
into &, Safari converts them to & in the final URL. So (see the URL
given for an example), the URL http://127.0.0.1/&notarealurl becomes
http://127.0.0.1/&notarealurl .

This might be correct behaviour according to the spec, however not encoding the
ampersand results in an error (see the second page,
http://bowmore.cs.st-andrews.ac.uk/safari_ampersand_bug2.xhtml ) instead. As
such, it appears there's no way of using URLs with ampersands in them, in XHTML
pages, under Safari!


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list