mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Refactoring: renames Rule to RuleWithOperator
This commit is contained in:
@@ -59,7 +59,7 @@ std::string RunTimeString::evaluate(Transaction *t, RuleBase *r) {
|
||||
} else if (z->m_var != NULL && t != NULL) {
|
||||
std::vector<const VariableValue *> l;
|
||||
// FIXME: This cast should be removed.
|
||||
Rule *rr = dynamic_cast<Rule *>(r);
|
||||
RuleWithOperator *rr = dynamic_cast<RuleWithOperator *>(r);
|
||||
z->m_var->evaluate(t, rr, &l);
|
||||
if (l.size() > 0) {
|
||||
s.append(l[0]->getValue());
|
||||
|
Reference in New Issue
Block a user