Adds new method for rule merge

IMPORTANT: SecDefaultAction specified on a child configuration will
overwrite the ones specified on the parent; Previously it was
concatenating.
This commit is contained in:
Felipe Zimmerle
2020-04-14 11:33:17 -03:00
parent cb0d298ded
commit 766b373c3b
115 changed files with 2136 additions and 1517 deletions

View File

@@ -79,11 +79,12 @@
},
"expected":{
"debug_log":"Executing operator \"Rx\" with param \"\\^0\\$\"",
"error_log":"Matched \"Operator `Rx' with parameter `\\^0\\$'"
"error_log":"Matched \"Operator `Rx' with parameter `\\^0\\$'",
"http_code": 403
},
"rules":[
"SecRuleEngine On",
"SecRule REQUEST_HEADERS:Content-Length \"!^0$\" \"id:1,phase:2,pass,t:trim,block\""
"SecRule REQUEST_HEADERS:Content-Length \"!^0$\" \"id:1,phase:2,pass,t:trim,deny\""
]
}
]