mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Changes debuglogs schema to avoid unecessary str allocation
This commit is contained in:
@@ -145,16 +145,12 @@ bool VerifyCC::evaluate(Transaction *t, Rule *rule,
|
||||
if (rule && t && rule->m_containsCaptureAction) {
|
||||
t->m_collections.m_tx_collection->storeOrUpdateFirst(
|
||||
"0", std::string(match));
|
||||
#ifndef NO_LOGS
|
||||
t->debug(7, "Added VerifyCC match TX.0: " + \
|
||||
ms_dbg_a(t, 7, "Added VerifyCC match TX.0: " + \
|
||||
std::string(match));
|
||||
#endif
|
||||
}
|
||||
#ifndef NO_LOGS
|
||||
t->debug(9, "CC# match \"" + m_param +
|
||||
ms_dbg_a(t, 9, "CC# match \"" + m_param +
|
||||
"\" at " + i + ". [offset " +
|
||||
std::to_string(offset) + "]");
|
||||
#endif
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user