diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-02-21 17:06:25 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-02-21 17:06:25 +0100 |
commit | d57c29564826da0c7f668d7f1b8524bddef9bc6b (patch) | |
tree | 82aeb42a1b48cf26e398c00db608df3b39a3fffc /src/adblock/adblockrule.cpp | |
parent | Add overwrite flag to file copy ad filters list to not bother users (diff) | |
download | rekonq-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.cpp | 2 |
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; |