Skip to content

Commit 710cc99

Browse files
author
Marc Stern
authored
Merge pull request #3012 from marcstern/v2/mst/except_noid
ctl:ruleRemoveByTag isn't executed if no rule id is present in the rule
2 parents aac0bee + bacb0f3 commit 710cc99

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)