diff --git a/src/lib/adblock/adblockmanager.cpp b/src/lib/adblock/adblockmanager.cpp index d68f6a357..218446489 100644 --- a/src/lib/adblock/adblockmanager.cpp +++ b/src/lib/adblock/adblockmanager.cpp @@ -85,9 +85,9 @@ QNetworkReply* AdBlockManager::block(const QNetworkRequest &request) QElapsedTimer timer; timer.start(); #endif - const QString &urlString = request.url().toEncoded(); - const QString &urlDomain = request.url().host(); - const QString &urlScheme = request.url().scheme(); + const QString &urlString = request.url().toEncoded().toLower(); + const QString &urlDomain = request.url().host().toLower(); + const QString &urlScheme = request.url().scheme().toLower(); if (!isEnabled() || !canRunOnScheme(urlScheme)) { return 0;