mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
MODSEC-326
This commit is contained in:
parent
e8bd4c05f3
commit
bf5cd6211c
@ -221,8 +221,6 @@ char *msre_ruleset_phase_rule_update_target_matching_exception(modsec_rec *msr,
|
|||||||
if (mode == 2) { /* We want to change the rule. */
|
if (mode == 2) { /* We want to change the rule. */
|
||||||
err = update_rule_target_ex(msr, ruleset, rule, p2, p3);
|
err = update_rule_target_ex(msr, ruleset, rule, p2, p3);
|
||||||
if (err) return err;
|
if (err) return err;
|
||||||
} else {
|
|
||||||
rules[j++] = rules[i];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((rule->actionset == NULL)||(rule->actionset->is_chained == 0)) mode = 0;
|
if ((rule->actionset == NULL)||(rule->actionset->is_chained == 0)) mode = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user