diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-04 18:47:37 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-04 18:47:37 +0100 |
commit | 218b5df8db37ea45e0f145a3400589a725a15658 (patch) | |
tree | a5fec621121726917c89e84346905d188e6c3e89 /src/protocolhandler.cpp | |
parent | Reorder suggestions list, taking on a "relevant" list (diff) | |
download | rekonq-218b5df8db37ea45e0f145a3400589a725a15658.tar.xz |
Manage rekonq pages in "current" NOT "main" frame
Also double check for strange about urls
BUG: 290411
Diffstat (limited to 'src/protocolhandler.cpp')
-rw-r--r-- | src/protocolhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index ebb12e8f..9489f025 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -2,7 +2,7 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2010-2011 by Andrea Diamantini <adjam7 at gmail dot com> +* Copyright (C) 2010-2012 by Andrea Diamantini <adjam7 at gmail dot com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -136,7 +136,7 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra { QByteArray encodedUrl = _url.toEncoded(); // let webkit manage the about:blank url... - if (encodedUrl == QByteArray("about:blank")) + if (encodedUrl.startsWith(QByteArray("about:blank"))) { return false; } |