Felipe Zimmerle 59114dd598
Refactoring on the operators parsers (2/2)
This is the first step towards remove the memory leaks in the parser
2017-03-06 15:01:50 -03:00

19 lines
574 B
JSON

[
{
"enabled":1,
"version_min":300000,
"version_max":0,
"title":"Testing action :: SecRule directives should be case insensitive",
"expected":{
"audit_log":"",
"debug_log":"Executing operator \"Contains\" with param \"PHPSESSID\" against REQUEST_HEADERS.",
"error_log":""
},
"rules":[
"secruleengine On",
"secrule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
"secrule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
]
}
]