[Webkit-unassigned] [Bug 12237] New: Can't render ampersands in URLs if content type is application/xhtml+xml

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 12 18:58:02 PST 2007


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

           Summary: Can't render ampersands in URLs if content type is
                    application/xhtml+xml
           Product: WebKit
           Version: 419.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rmann at latencyzero.com


If I serve a page as "application/xhtml+xml", and include something like the
following in the markup:

    <a href="SearchSubmit.do?t=e&fid=&ps=&p=2">next</a>

Then the URI that Safari wants to go to is:

    http://localhost/dvd/SearchSubmit.do?t=e&fid=&%2338;ps=&%2338;p=2

However, if I serve it as "text/html", the URI is properly interpreted:

    http://localhost/dvd/SearchSubmit.do?t=e&fid=&ps=&p=2

If I try to build the URL using only ampersands, and not &, then if served
as "application/xhtml+xml", Safari complains about the markup.

Firefox behaves correctly on the exact same page. Top of the page is served
with:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


-- 
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