diff options
Diffstat (limited to 'network/rekonq/rekonq-CVE-2010-2536-fix.patch')
-rw-r--r-- | network/rekonq/rekonq-CVE-2010-2536-fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/network/rekonq/rekonq-CVE-2010-2536-fix.patch b/network/rekonq/rekonq-CVE-2010-2536-fix.patch new file mode 100644 index 0000000000..c9dce8e357 --- /dev/null +++ b/network/rekonq/rekonq-CVE-2010-2536-fix.patch @@ -0,0 +1,16 @@ +diff --git a/src/webpage.cpp b/src/webpage.cpp +index a63940b..ea2add6 100644 +--- a/src/webpage.cpp ++++ b/src/webpage.cpp +@@ -577,8 +577,8 @@ QString WebPage::errorPage(QNetworkReply *reply) + return QString("Couldn't open the rekonqinfo.html file"); + } + +- QString title = i18n("Error loading: %1", reply->url().toString()); +- QString urlString = reply->url().toString(QUrl::RemoveUserInfo | QUrl::RemoveQuery); ++ QString title = i18n("There was a problem while loading the page"); ++ QString urlString = reply->url().toString(QUrl::RemoveUserInfo | QUrl::RemoveQuery | QUrl::RemovePath); + + QString iconPath = QString("file://") + KIconLoader::global()->iconPath("dialog-warning" , KIconLoader::Small); + iconPath.replace(QL1S("16"), QL1S("128")); + |