mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Testing new approach to tag macro expansion
This commit is contained in:
parent
f524cfee48
commit
6b7c138a98
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user