Summary: | KWebView with remote file url causes endless KIO redirections when kde-runtime is built without samba libraries | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Andre Heinecke <aheinecke> |
Component: | kdewebkit | Assignee: | webkit-devel |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | adawit, grote, ps_ml |
Priority: | NOR | Keywords: | triaged |
Version: | 4.9-Git | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Test exposing the problem
Manipulated html mail triggering the problem proposed patch |
Description
Andre Heinecke
2012-06-22 10:18:53 UTC
Created attachment 72039 [details]
Test exposing the problem
Created attachment 72458 [details]
Manipulated html mail triggering the problem
While this bug does only occur on invalid file urls. Which probably don't occur in the code for Linux. Even on Linux systems this opens a vulnerability to manipulated mails as the one that i have attached.
You need the setting "prefer html over plain text" then viewing the attached Message in KMail triggers the bug.
Just updated my builds to current master and noticed that i did not had the samba client libraries installed for kde-runtime. With them this problem does not occur. Still needs to be fixed but now I understand why this does not happen more often. This is reproduceable on msvc. Git commit d177fd620dd7a7eea9e85d7cbc64e7bb12913667 by Nico Kruber. Committed on 09/12/2013 at 03:33. Pushed by nkruber into branch 'kde-4.12'. kdepim: update patches and re-apply a fix reverted upstream please check whether the fix_introduction_screen.diff patch is really still needed or whether it has been fixed otherwise in the meantime A +25 -0 portage/kde/kdepim/0001-fixed-windows-x64-build.patch M +27 -27 portage/kde/kdepim/fix_introduction_screen.diff M +4 -9 portage/kde/kdepim/kdepim-20080202.py D +0 -36 portage/kde/kdepim/kdepim-4.10.0.diff D +0 -56 portage/kde/kdepim/kdepim-app-icons.diff http://commits.kde.org/emerge/d177fd620dd7a7eea9e85d7cbc64e7bb12913667 Created attachment 84216 [details]
proposed patch
Can you try the attached patch and see if it resolves the issue for you? I purposefully avoided adding KDE's local schemes to QWebSecurityOrigin, but in hind sight I should have and let applications remove the local protocols they want to allow.
See comment #6. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |