summaryrefslogtreecommitdiff
path: root/src/adblock/adblockrule.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-19 15:21:36 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-19 15:21:36 +0200
commita3f4b43ff806c3dab1f2410d6dc5017c6a05accb (patch)
tree7beab7f7433064692ace51fea3c81dd18e173478 /src/adblock/adblockrule.h
parentBookmarkOwner class clean-up (diff)
parentSkip the hiding rules specific to domains (diff)
downloadrekonq-a3f4b43ff806c3dab1f2410d6dc5017c6a05accb.tar.xz
Merge commit 'refs/merge-requests/179' of git://gitorious.org/rekonq/mainline into m179
Diffstat (limited to 'src/adblock/adblockrule.h')
-rw-r--r--src/adblock/adblockrule.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/adblock/adblockrule.h b/src/adblock/adblockrule.h
index 04409688..ef7b2f5f 100644
--- a/src/adblock/adblockrule.h
+++ b/src/adblock/adblockrule.h
@@ -70,9 +70,10 @@ class AdBlockRule
public:
AdBlockRule(const QString &filter);
- bool match(const QString &encodedUrl) const
+ bool match(const QString &encodedUrl, const QString &encodedUrlLowerCase) const
{
- return m_implementation->match(encodedUrl);
+ Q_ASSERT(encodedUrl.toLower() == encodedUrlLowerCase);
+ return m_implementation->match(encodedUrl, encodedUrlLowerCase);
}
private: