[WebKit-devel] [Bug 267249] New: Last commit to KIO::AccessManager (3f3ed98) breaks http POST

Michael Olbrich michael.olbrich at gmx.net
Sun Feb 27 13:37:02 CET 2011


           Summary: Last commit to KIO::AccessManager (3f3ed98) breaks
                    http POST
           Product: kwebkitpart
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: webkit-devel at kde.org
        ReportedBy: michael.olbrich at gmx.net

Created an attachment (id=57550)
 --> (http://bugs.kde.org/attachment.cgi?id=57550)
possible fix

Version:           unspecified (using Devel) 
OS:                Linux

In KIO::AccessManager::createRequest:

Since 3f3ed98 the new KIO::http_post API is used. For this to work, the request
size is needed. Whenever I try to use a form (e.g. lwn.net login) this fails
because sizeFromRequest(req) returns -1.
I'm not certain what part is to blame for this. I'm using qtwebkit
2.1.0~2011week03-1 debian packages.

I've attached a patch that creates a fall back to the old API if the size is
not available. I'm not sure, if this the right fix, or if the bug is somewhere

Reproducible: Always

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

More information about the WebKit-devel mailing list