Created attachment 51293 [details]
kio accessmanager createrequest patch
Version: SVN (using Devel)
the switch(op) in KIO::accessmanager::createRequest method does not handle all QNAM::operation(s), returning 0 when a custom or a delete one is called. This lets happily crash QtWebKit :)
An example site of this behaviour is http://www.sfx.co.uk/2010/08/26/from-the-sfx-office-25/ as explained in bug:249275.
The attached patch, similar to the one used in rekonq to address the issue, should workaround the problem, waiting for a "proper fix".
Reproducible: Didn't try
For some reason I did not see this bug until now nor did I recieve the notification though my email address is in the CC list. Anyhow, it will be fixed shortly...
SVN commit 1193664 by adawit:
- Added support for missing QNAM DeleteOperation.
- Let QNAM handle all operations not supported by KIO, e.g. CustomOperation.
M +13 -6 accessmanager.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1193664
SVN commit 1193669 by adawit:
Backported the fix for unhandled QNAM operations that cause QtWebKit to crash.
M +9 -3 accessmanager.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1193669
*** Bug 242141 has been marked as a duplicate of this bug. ***