summaryrefslogtreecommitdiff
path: root/src/adblock/adblockrule.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-02-21 17:06:25 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-02-21 17:06:25 +0100
commitd57c29564826da0c7f668d7f1b8524bddef9bc6b (patch)
tree82aeb42a1b48cf26e398c00db608df3b39a3fffc /src/adblock/adblockrule.cpp
parentAdd overwrite flag to file copy ad filters list to not bother users (diff)
downloadrekonq-d57c29564826da0c7f668d7f1b8524bddef9bc6b.tar.xz
Triple check against stupid rules like "*" or "##"
CCBUG: 315002
Diffstat (limited to 'src/adblock/adblockrule.cpp')
-rw-r--r--src/adblock/adblockrule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adblock/adblockrule.cpp b/src/adblock/adblockrule.cpp
index d65c340d..01a8e420 100644
--- a/src/adblock/adblockrule.cpp
+++ b/src/adblock/adblockrule.cpp
@@ -59,7 +59,7 @@ RuleTypes AdBlockRule::ruleType(const QString &filter)
{
if (AdBlockRuleTextMatchImpl::isTextMatchFilter(filter))
return TextRule;
-
+
if (AdBlockRuleNullImpl::isNullFilter(filter))
return NullRule;