mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Updated recommended conf to enter XML processor when content-type is application/xml
This commit is contained in:
@@ -19,7 +19,7 @@ SecRequestBodyAccess On
|
||||
# Enable XML request body parser.
|
||||
# Initiate XML Processor in case of xml content-type
|
||||
#
|
||||
SecRule REQUEST_HEADERS:Content-Type "text/xml" \
|
||||
SecRule REQUEST_HEADERS:Content-Type "(?:text|application)/xml" \
|
||||
"id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML"
|
||||
|
||||
# Enable JSON request body parser.
|
||||
|
Reference in New Issue
Block a user