Treating ARGS_NAMES as an array instead of scalar

Both value and key are the same.
This commit is contained in:
Felipe Zimmerle
2017-08-22 18:26:56 -03:00
parent 81879cd131
commit 1d3c4c670d
10 changed files with 3269 additions and 3197 deletions

View File

@@ -314,11 +314,11 @@
]
},
"expected":{
"error_log":"o0,17v17,6v31,6v45,6v149,6v163,6v177,6t:trim"
"error_log":"o0,3v17,6t:trimo0,3v149,6t:trimo0,3v31,6t:trimo0,3v163,6t:trimo0,3v45,6t:trimo0,3v177,6t:trim"
},
"rules":[
"SecRequestBodyAccess On",
"SecRule ARGS_NAMES \"@rx param1 param2 par\" \"id:1,phase:2,pass,t:trim,msg:'ops'\""
"SecRule ARGS_NAMES \"@rx par\" \"id:1,phase:2,pass,t:trim,msg:'ops'\""
]
},
{