[Webkit-unassigned] [Bug 28687] should not pass URI fragments to libsoup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 26 05:24:47 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28687





--- Comment #2 from Dan Winship <danw at gnome.org>  2009-08-26 05:24:47 PDT ---
You probably want to operate on the parsed URL, not the string form.

In ResourceHandle::start(), you have:

    KURL url = request().url();
    String urlString = url.string();

and you could just add a call to url.removeFragmentIdentifier() in between.
Likewise in updateFromSoupMessage. (Though I'm not sure if you want m_url to
contain the fragment or not.)

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



More information about the webkit-unassigned mailing list