Change operator to @within, because the argument processing is non-deterministic

This commit is contained in:
Ervin Hegedus 2025-07-14 22:13:35 +02:00
parent 88f1414531
commit 5572ac0798
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -283,7 +283,7 @@
"SecRuleEngine On",
"SecRule ARGS \"@rx 1\" \"id:1,phase:1,pass\"",
"SecRule ARGS \"@rx 2\" \"id:2,phase:1,deny,status:403,chain\"",
"SecRule MATCHED_VAR_NAME \"@strEq ARGS:baz\""
"SecRule MATCHED_VAR_NAME \"@within ARGS:baz ARGS:bar\""
]
}
]