mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 01:22:18 +03:00
committed by
Felipe Zimmerle
parent
beedddd6c6
commit
5929277938
@@ -103,7 +103,7 @@ bool Pm::evaluate(Transaction *transaction, Rule *rule,
|
|||||||
transaction->m_matched.push_back(match_);
|
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",
|
transaction->m_collections.m_tx_collection->storeOrUpdateFirst("0",
|
||||||
std::string(match));
|
std::string(match));
|
||||||
ms_dbg_a(transaction, 7, "Added pm match TX.0: " + \
|
ms_dbg_a(transaction, 7, "Added pm match TX.0: " + \
|
||||||
|
|||||||
Reference in New Issue
Block a user