mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Fix MODSEC-315
This commit is contained in:
parent
e821aaf048
commit
18f98e755b
@ -2663,8 +2663,8 @@ static int execute_operator(msre_var *var, msre_rule *rule, modsec_rec *msr,
|
||||
}
|
||||
|
||||
/* Keep track of the highest severity matched so far */
|
||||
if ((acting_actionset->severity > 0) && (acting_actionset->severity < msr->highest_severity))
|
||||
{
|
||||
if ((acting_actionset->severity > 0) && (acting_actionset->severity < msr->highest_severity)
|
||||
&& !rule->actionset->is_chained) {
|
||||
msr->highest_severity = acting_actionset->severity;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user