Skip to content

Commit 5572ac0

Browse files
committed
Change operator to @Within, because the argument processing is non-deterministic
1 parent 88f1414 commit 5572ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-cases/regression/variable-MATCHED_VAR_NAME.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
"SecRuleEngine On",
284284
"SecRule ARGS \"@rx 1\" \"id:1,phase:1,pass\"",
285285
"SecRule ARGS \"@rx 2\" \"id:2,phase:1,deny,status:403,chain\"",
286-
"SecRule MATCHED_VAR_NAME \"@strEq ARGS:baz\""
286+
"SecRule MATCHED_VAR_NAME \"@within ARGS:baz ARGS:bar\""
287287
]
288288
}
289289
]

0 commit comments

Comments
 (0)