mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 01:22:18 +03:00
Adds partial support to UpdateActionById
This commit is contained in:
@@ -37,7 +37,7 @@ bool DetectXSS::evaluate(Transaction *t, Rule *rule,
|
||||
t->debug(5, "detected XSS using libinjection.");
|
||||
#endif
|
||||
if (rule && t
|
||||
&& rule->getActionsByName("capture").size() > 0) {
|
||||
&& rule->getActionsByName("capture", t).size() > 0) {
|
||||
t->m_collections.m_tx_collection->storeOrUpdateFirst(
|
||||
"0", std::string(input));
|
||||
#ifndef NO_LOGS
|
||||
|
||||
Reference in New Issue
Block a user