Skip to content

Commit 821ec3e

Browse files
authored
Merge pull request #3064 from owasp-modsecurity/revert-3012-v2/mst/except_noid
Revert "ctl:ruleRemoveByTag isn't executed if no rule id is present in the rule"
2 parents b8be144 + 43cb827 commit 821ec3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache2/re.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static int fetch_target_exception(msre_rule *rule, modsec_rec *msr, msre_var *va
7676
if(rule->actionset == NULL)
7777
return 0;
7878

79-
{
79+
if(rule->actionset->id !=NULL) {
8080

8181
myvar = apr_pstrdup(msr->mp, var->name);
8282

0 commit comments

Comments
 (0)