mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Using run time string on the operators
This commit is contained in:
@@ -25,7 +25,7 @@ namespace operators {
|
||||
|
||||
|
||||
bool StrMatch::evaluate(Transaction *transaction, const std::string &input) {
|
||||
std::string p = MacroExpansion::expand(m_param, transaction);
|
||||
std::string p(m_string->evaluate(transaction));
|
||||
bool ret = input.find(p) != std::string::npos;
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user