From ecbe1d942e41a29a8d0bffdb328643e4c2a278b1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 8 Dec 2009 12:25:54 +0100 Subject: xss attach prevention. I have to say, BRUTE prevention :) Hope this works. Also some fixes in Urlbar class to ensure that a KUrl is a KUrl and a QString is a QString. Removed the annoying "restore url on focus out" feature. No other browsers have it and I really cannot understand gain --- src/application.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/application.h') diff --git a/src/application.h b/src/application.h index b15720f5..fa2354f2 100644 --- a/src/application.h +++ b/src/application.h @@ -33,7 +33,6 @@ // KDE Includes #include #include -#include #include #include @@ -135,9 +134,8 @@ private slots: void postLaunch(); private: - - KUrl guessUrlFromString(const QString &url); - + KUrl xssSanitization(const KUrl &url); + static QPointer s_historyManager; static QPointer s_bookmarkProvider; static QPointer s_sessionManager; -- cgit v1.2.1