summaryrefslogtreecommitdiff
path: root/network/rekonq/rekonq-CVE-2010-2536-fix.patch
diff options
context:
space:
mode:
authorBranko Grubic <branko.grubic@gmail.com>2010-08-22 11:48:14 -0400
committerErik Hanson <erik@slackbuilds.org>2010-08-23 00:53:39 -0500
commitc296eed454562fb628fa663ddcb71f7d8e5d28fa (patch)
treec55f48094e88fa98f7bf4b357533ccce81844bd1 /network/rekonq/rekonq-CVE-2010-2536-fix.patch
parentf25c8bcb4a863c7f6d5dec4a079f257a3edd5ba3 (diff)
downloadslackbuilds-c296eed454562fb628fa663ddcb71f7d8e5d28fa.tar.gz
network/rekonq: Updated for version 0.5.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/rekonq/rekonq-CVE-2010-2536-fix.patch')
-rw-r--r--network/rekonq/rekonq-CVE-2010-2536-fix.patch16
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"));
+