Skip to content

Commit a6d3397

Browse files
author
Marc Stern
committed
removeByTag wasn't executed if no rule id is present in the rule
1 parent 285f7ef commit a6d3397

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-
if(rule->actionset->id !=NULL) {
79+
{
8080

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

0 commit comments

Comments
 (0)