Review Request: Patch to retain SSL meta-data on redirection of a KIO::Job

Dawit Alemayehu adawit at kde.org
Thu Mar 25 03:43:42 GMT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/3364/
-----------------------------------------------------------

(Updated 2010-03-25 03:43:41.967460)


Review request for kdelibs.


Summary (updated)
-------

Currently if a KPart based application such as Konqueror calls KParts::BrowserRun::scanFile to determine the mime-type of a requested resource and the resulting KIO job ends up doing a redirection, the SSL related meta-data information will be completely lost. This causes problems like the one mentioned in comment #14 of bug report 154060. This patch addresses this problem by retaining the SSL related meta-data whenever a job is redirected.

NOTE: this patch is NOT the complete fix for the 154060! It is only a partial fix as it pertains to the KPart's library. For a complete fix 154060, the KParts themselves have to be updated to catch all SSL related meta-data whenever a container application calls their openUrl(...) function. For details, see the implementation of kwebkitpart's openUrl.


This addresses bug 154060.
    https://bugs.kde.org/show_bug.cgi?id=154060


Diffs (updated)
-----

  /trunk/KDE/kdelibs/kio/kio/job.cpp 1106350 

Diff: http://reviewboard.kde.org/r/3364/diff


Testing
-------

Used the link in comment #14 of bug 154060 to test the fix. It works correctly in Konqueror + kwebkitpart with the fix.


Thanks,

Dawit





More information about the kde-core-devel mailing list