[Webkit-unassigned] [Bug 24602] New: [Gtk] Searching in thepiratebay.org doesn't work with more than 1 word

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 14 16:02:31 PDT 2009


           Summary: [Gtk] Searching in thepiratebay.org doesn't work with
                    more than 1 word
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Gtk, Soup
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gns at gnome.org

This is caused by the fact that thepiratebay's search responds with a redirect
to an URI containing whatever was searched, but doesn't properly encode the
URI, so you get something like this:

HTTP/1.1 302 Found
Soup-Debug-Timestamp: 1237071670
Soup-Debug: SoupMessage 7 (0xa159f10)
Set-Cookie: searchTitle=0; expires=Sun, 14-Mar-2010 23:01:19 GMT; path=/
Location: /search/foo bar/0/99/0
Content-Type: text/html
Content-Length: 0
Date: Sat, 14 Mar 2009 23:01:19 GMT
Server: lighttpd

libsoup currently uses the URI with no processing to make sure it's valid, and
gets a 400 Bad Request.

Configure bugmail: https://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