mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-20 19:16:40 +03:00
@@ -53,11 +53,16 @@ bool Msg::evaluate(Rule *rule, Transaction *transaction) {
|
||||
transaction->debug(9, "Saving msg: " + msg);
|
||||
#endif
|
||||
|
||||
rule->m_log_message = msg;
|
||||
rule->m_log_message = data(transaction);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
std::string Msg::data(Transaction *transaction) {
|
||||
return MacroExpansion::expand(m_parser_payload, transaction);
|
||||
}
|
||||
|
||||
|
||||
} // namespace actions
|
||||
} // namespace modsecurity
|
||||
|
||||
Reference in New Issue
Block a user