mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Perform the intercept_action as well as the disruptive actions.
This commit is contained in:
parent
59851fff2b
commit
258e5545a2
@ -2513,6 +2513,11 @@ static void msre_perform_disruptive_actions(modsec_rec *msr, msre_rule *rule,
|
||||
}
|
||||
}
|
||||
}
|
||||
if (actionset->intercept_action_rec->metadata->type == ACTION_DISRUPTIVE) {
|
||||
if (actionset->intercept_action_rec->metadata->execute != NULL) {
|
||||
actionset->intercept_action_rec->metadata->execute(msr, mptmp, rule, actionset->intercept_action_rec);
|
||||
}
|
||||
}
|
||||
|
||||
/* If "noauditlog" was used do not mark the transaction relevant. */
|
||||
if (actionset->auditlog != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user