mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 18:30:35 +03:00
Check if response body inspection is enabled before process it
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
},
|
||||
"rules": [
|
||||
"SecRuleEngine On",
|
||||
"SecResponseBodyAccess On",
|
||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny\""
|
||||
]
|
||||
},
|
||||
@@ -352,6 +353,7 @@
|
||||
},
|
||||
"rules": [
|
||||
"SecRuleEngine On",
|
||||
"SecResponseBodyAccess On",
|
||||
"SecRule ARGS \"@contains test\" \"id:1,phase:4,t:trim,status:500,deny\""
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user