Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e4e2af

Browse files
Chaim SandersFelipe Zimmerle
Chaim Sanders
authored and
Felipe Zimmerle
committed
add support for soap+xml
As was talked about by@emphazer inSpiderLabs/owasp-modsecurity-crs#721, RFC 3902 adds support for the application/soap+xml header used by SOAP 1.2.
1 parenteb798d8 commit5e4e2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎modsecurity.conf-recommended‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SecRequestBodyAccess On
1919
# Enable XML request body parser.
2020
# Initiate XML Processor in case of xml content-type
2121
#
22-
SecRule REQUEST_HEADERS:Content-Type "(?:text|application)/xml" \
22+
SecRule REQUEST_HEADERS:Content-Type "(?:application(?:/soap\+|/)|text/)xml" \
2323
"id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML"
2424

2525
# Enable JSON request body parser.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp