network/rekonq: Updated for version 0.5.0.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Branko Grubic 2010-08-22 11:48:14 -04:00 committed by Erik Hanson
parent f25c8bcb4a
commit c296eed454
4 changed files with 28 additions and 9 deletions

View file

@ -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"));

View file

@ -6,7 +6,7 @@
PRGNAM=rekonq
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -51,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
## patch to fix Multiple cross-site scripting (XSS) vulnerabilities (CVE-2010-2536)
patch -p1 <$CWD/rekonq-CVE-2010-2536-fix.patch
mkdir -p build
cd build
cmake .. \

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Branko Grubic"
EMAIL="branko.grubic@gmail.com"
APPROVED="rworkman"
APPROVED="dsomero"