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

Commit1068da4

Browse files
author
Chaim Sanders
committed
Updated recommended conf to enter XML processor when content-type is application/xml
1 parent880b276 commit1068da4

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/xml" \
22+
SecRule REQUEST_HEADERS:Content-Type "(?:text|application)/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