Testing new approach to tag macro expansion

This commit is contained in:
brenosilva 2011-04-03 21:22:16 +00:00
parent f524cfee48
commit 6b7c138a98

View File

@ -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;
} }