mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 02:40:35 +03:00
Refactoring on the RULE variable
This commit is contained in:
@@ -45,7 +45,7 @@ bool SetVar::evaluate(Rule *rule, Transaction *t) {
|
||||
std::string resolvedPre;
|
||||
|
||||
if (m_string) {
|
||||
resolvedPre = m_string->evaluate(t);
|
||||
resolvedPre = m_string->evaluate(t, rule);
|
||||
}
|
||||
|
||||
std::string m_variableNameExpanded;
|
||||
|
||||
Reference in New Issue
Block a user