Revert "ctl:ruleRemoveByTag isn't executed if no rule id is present in the rule"

This commit is contained in:
Ervin Hegedus 2024-02-07 23:05:28 +01:00 committed by GitHub
parent b8be144bbe
commit 43cb827084
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ static int fetch_target_exception(msre_rule *rule, modsec_rec *msr, msre_var *va
if(rule->actionset == NULL)
return 0;
{
if(rule->actionset->id !=NULL) {
myvar = apr_pstrdup(msr->mp, var->name);