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

Commita0ed3db

Browse files
zimmerleFelipe Zimmerle
authored and
Felipe Zimmerle
committed
Merge pull requestowasp-modsecurity#666 from derhansen/master
Uses code 400 instead of 44 in modsecurity.conf-recommended
2 parentsdda91f1 +ab9aede commita0ed3db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎iis/wix/modsecurity.conf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ FL %{MULTIPART_FILE_LIMIT_EXCEEDED}'"
7878
# Did we see anything that might be a boundary?
7979
#
8080
SecRule MULTIPART_UNMATCHED_BOUNDARY "!@eq 0" \
81-
"id:'200003',phase:2,t:none,log,deny,status:44,msg:'Multipart parser detected a possible unmatched boundary.'"
81+
"id:'200003',phase:2,t:none,log,deny,msg:'Multipart parser detected a possible unmatched boundary.'"
8282

8383
# PCRE Tuning
8484
# We want to avoid a potential RegEx DoS condition

‎modsecurity.conf-recommended‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ SecRule REQBODY_ERROR "!@eq 0" \
5959
# _not_ to remove it altogether.
6060
#
6161
SecRule MULTIPART_STRICT_ERROR "!@eq 0" \
62-
"id:'200002',phase:2,t:none,log,deny,status:44, \
62+
"id:'200002',phase:2,t:none,log,deny,status:400, \
6363
msg:'Multipart request body failed strict validation: \
6464
PE %{REQBODY_PROCESSOR_ERROR}, \
6565
BQ %{MULTIPART_BOUNDARY_QUOTED}, \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp