mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Yet another refactoring in Rule
This commit is contained in:
@@ -53,7 +53,7 @@ bool Rx::evaluate(Transaction *transaction, Rule *rule,
|
||||
}
|
||||
|
||||
matches = re->searchAll(input);
|
||||
if (rule && rule->m_containsCaptureAction && transaction) {
|
||||
if (rule && rule->hasCaptureAction() && transaction) {
|
||||
int i = 0;
|
||||
matches.reverse();
|
||||
for (const SMatch& a : matches) {
|
||||
|
Reference in New Issue
Block a user