[Webkit-unassigned] [Bug 17403] New: WebKit Creates Invalid Xhtml Links with Ajax

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 16 23:19:51 PST 2008


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

           Summary: WebKit Creates Invalid Xhtml Links with Ajax
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cfis at savagexi.com


In xhtml, links must be escaped like this:

<a id="search_link"
href="http://www.google.com/search?q=webkit&start=10">Original Search</a>

Safari 3.x correctly handles this when loading an XHTML document, but not when
replacing parts of the document using Ajax.  What happens is Safari interprets
the links as:

http://www.google.com/search?q=webkit&start=10

Which is wrong - the start parameter will not be sent along.

I have attached an example showing the problem:

1.  Open the document
2.  Click the link, and you'll go to page #2 of a Google search on Webkit.
3.  Hit the replace button which will replace the link in a similar way that an
Ajax call will work.  Note I took the replace method from the Prototype
library.
4.  Now click the link again - you'll see page 1 of the results, *not* page 2.  

And that's the bug - Safari mucks up & is xhtml links, cause all parameters
after the first one to be dropped.


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