secrules_parsing icon indicating copy to clipboard operation
secrules_parsing copied to clipboard

Handling set_env correctly

Open touchweb-vincent opened this issue 2 months ago • 2 comments

Hello,

Next to https://github.com/coreruleset/secrules_parsing/issues/90

There is still a problem here :

This one is failing :

SecRule ARGS "@rx ^.{3,}" \
    "id:1,\
    phase:2,\
    pass,\
    setenv:my_env=my_env_value"

This one is considered clean :

SecRule ARGS "@rx ^.{3,}" \
    "id:1,\
    phase:2,\
    pass,\
    setenv:'my_env=my_env_value'"

touchweb-vincent avatar Oct 29 '25 19:10 touchweb-vincent

See #93.

airween avatar Oct 29 '25 20:10 airween

Thanks you !

touchweb-vincent avatar Oct 30 '25 05:10 touchweb-vincent