mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-06 06:16:51 +03:00
Testing new approach to tag macro expansion
This commit is contained in:
@@ -592,7 +592,7 @@ static apr_status_t msre_action_tag_execute(modsec_rec *msr, apr_pool_t *mptmp,
|
|||||||
expand_macros(msr, var, rule, mptmp);
|
expand_macros(msr, var, rule, mptmp);
|
||||||
|
|
||||||
if(rule->actionset != NULL)
|
if(rule->actionset != NULL)
|
||||||
rule->actionset->tag = var->value;
|
rule->actionset->tag = apr_pstrmemdup(msr->mp, var->value, var->value);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user