[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 267249] New: Last commit to KIO::AccessManager (3f3ed98) breaks
From:       Michael Olbrich <michael.olbrich () gmx ! net>
Date:       2011-02-27 12:37:02
Message-ID: bug-267249-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=267249

           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@kde.org
        ReportedBy: michael.olbrich@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
else.

Reproducible: Always

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic