mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Revert part of the noauditlog fix in changelog:878. See #451.
This commit is contained in:
@@ -1585,11 +1585,8 @@ static void msre_perform_disruptive_actions(modsec_rec *msr, msre_rule *rule,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If "noauditlog" used do not mark the transaction for audit logging. */
|
/* If "noauditlog" used do not mark the transaction relevant. */
|
||||||
if (actionset->auditlog == 0) {
|
if (actionset->auditlog != 0) {
|
||||||
msr->is_relevant = 0;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
msr->is_relevant++;
|
msr->is_relevant++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user