[Webkit-unassigned] [Bug 70683] New: [Qt] HTTP redirection is not handled correctly for a 303 response

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 22 12:24:22 PDT 2011


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

           Summary: [Qt] HTTP redirection is not handled correctly for a
                    303 response
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adawit at kde.org


QtWebKit currently does not handle the 303 redirection response from a server correctly. According to RFC 2616 section 10.3.4, a 303 redirect should always be converted into a GET request before it is retrieved again. However, QtWebKit does not do that for both PUT and DELETE requests.

Actually what QtWebKit is currently doing, though very adherent to the spec, won't work with lots of broken servers out in the wild. That is because many server implementations incorrectly return a 301 or 302 response when they should actually be returing a 303. As a result, browsers like Chromium and Firefox treat all redirection response codes the same and simply convert all requests into a GET operation on redirection.

Though I personally believe that QtWebKit's behavior should be changed to match Firefox for maximum compatability, the attached patch only addresses the broken behavior of the 303 redirection.

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