mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Refactoring: renames Rule to RuleWithOperator
This commit is contained in:
@@ -153,7 +153,7 @@ int RulesSet::evaluate(int phase, Transaction *t) {
|
||||
+ "' as request trough the utilization of an `allow' action.");
|
||||
} else {
|
||||
RuleBase *base = rule.get();
|
||||
Rule *ruleWithOperator = dynamic_cast<Rule *>(base);
|
||||
RuleWithOperator *ruleWithOperator = dynamic_cast<RuleWithOperator *>(base);
|
||||
if (m_exceptions.contains(ruleWithOperator->m_ruleId)) {
|
||||
ms_dbg_a(t, 9, "Skipped rule id '" + rule->getReference() \
|
||||
+ "'. Removed by an SecRuleRemove directive.");
|
||||
|
Reference in New Issue
Block a user