mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
parent
beedddd6c6
commit
5929277938
@ -103,7 +103,7 @@ bool Pm::evaluate(Transaction *transaction, Rule *rule,
|
||||
transaction->m_matched.push_back(match_);
|
||||
}
|
||||
|
||||
if (rule && rule->m_containsCaptureAction && transaction && rc) {
|
||||
if (rule && rule->m_containsCaptureAction && transaction && rc >= 0) {
|
||||
transaction->m_collections.m_tx_collection->storeOrUpdateFirst("0",
|
||||
std::string(match));
|
||||
ms_dbg_a(transaction, 7, "Added pm match TX.0: " + \
|
||||
|
Loading…
x
Reference in New Issue
Block a user