mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
add support for soap+xml
As was talked about by @emphazer in https://github.com/SpiderLabs/owasp-modsecurity-crs/pull/721, RFC 3902 adds support for the application/soap+xml header used by SOAP 1.2.
This commit is contained in:
parent
e2bbe9858f
commit
b58f713fe9
@ -19,7 +19,7 @@ SecRequestBodyAccess On
|
|||||||
# Enable XML request body parser.
|
# Enable XML request body parser.
|
||||||
# Initiate XML Processor in case of xml content-type
|
# Initiate XML Processor in case of xml content-type
|
||||||
#
|
#
|
||||||
SecRule REQUEST_HEADERS:Content-Type "(?:text|application)/xml" \
|
SecRule REQUEST_HEADERS:Content-Type "(?:application(?:/soap\+|/)|text/)xml" \
|
||||||
"id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML"
|
"id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML"
|
||||||
|
|
||||||
# Enable JSON request body parser.
|
# Enable JSON request body parser.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user