summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-04-24 16:47:55 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-24 16:47:55 +0200
commit4c0ad2049f3b49590a7d19f89ebcb767c3c15283 (patch)
treec043cc517efb6e8601266977e9f17a1277d3c32f /src/webpage.cpp
parentset Main Window on KDirLister (diff)
downloadrekonq-4c0ad2049f3b49590a7d19f89ebcb767c3c15283.tar.xz
Clean up url management
- Let ftp url(s) work again - Do NOT check url twice via KUriFilter (removed MainWindow::filterUrl) - ensure we are lowering just http url hosts - mailto via urlbar handling BUG: 298114 CCBUG: 284829
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index c6e318e8..ce1151da 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -527,6 +527,10 @@ void WebPage::manageNetworkErrors(QNetworkReply *reply)
break;
case QNetworkReply::UnknownNetworkError: // unknown network-related error detected
+ // last chance for the strange things (eg: FTP, custom schemes, etc...)
+ if (_protHandler.postHandling(reply->request(), mainFrame()))
+ return;
+
case QNetworkReply::ConnectionRefusedError: // remote server refused connection
case QNetworkReply::HostNotFoundError: // invalid hostname
case QNetworkReply::TimeoutError: // connection time out