Hi DEVs,
this is my first KDE patch. I am new in kdelibs world, but I like this
browser and I hope to contribute a bit.

I use more the web shortcuts and when I use special characters, as the
double quotes, rekonq replaces they with %22. This patch should fix
that.

Thanks

-- 
Andrea `bash` Scarpino
Arch Linux Developer
From bbffc0d48a90932e702284779e9123d9f13188b8 Mon Sep 17 00:00:00 2001
From: Andrea Scarpino <[email protected]>
Date: Fri, 15 Jan 2010 16:32:05 +0100
Subject: [PATCH] allow to use double quotes with web shortcuts

---
 src/application.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/application.cpp b/src/application.cpp
index e83a59b..18209f6 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -309,7 +309,7 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
     // the beautiful KDE web browsing shortcuts
     KUriFilterData data(loadingUrl.pathOrUrl());
     data.setCheckForExecutables(false); // if true, queries like "rekonq" or "dolphin" are considered as executables
-    loadingUrl = KUriFilter::self()->filterUri(data) ? data.uri().url() : QUrl::fromUserInput(loadingUrl.pathOrUrl());
+    loadingUrl = KUriFilter::self()->filterUri(data) ? data.uri().pathOrUrl() : QUrl::fromUserInput(loadingUrl.pathOrUrl());
 
     // we are sure of the url now, let's add it to history
     // anyway we store here just http sites because local and ftp ones are
-- 
1.6.6

_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to