mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
iis: Uses code 400 instead of 44 in modsecurity.conf
Following the recent changes that has been made on: modsecurity.conf-recommended
This commit is contained in:
@@ -60,7 +60,7 @@ SecRule REQBODY_ERROR "!@eq 0" \
|
|||||||
# _not_ to remove it altogether.
|
# _not_ to remove it altogether.
|
||||||
#
|
#
|
||||||
SecRule MULTIPART_STRICT_ERROR "!@eq 0" \
|
SecRule MULTIPART_STRICT_ERROR "!@eq 0" \
|
||||||
"id:'200002',phase:2,t:none,log,deny,status:44, \
|
"id:'200002',phase:2,t:none,log,deny,status:400, \
|
||||||
msg:'Multipart request body failed strict validation: \
|
msg:'Multipart request body failed strict validation: \
|
||||||
PE %{REQBODY_PROCESSOR_ERROR}, \
|
PE %{REQBODY_PROCESSOR_ERROR}, \
|
||||||
BQ %{MULTIPART_BOUNDARY_QUOTED}, \
|
BQ %{MULTIPART_BOUNDARY_QUOTED}, \
|
||||||
|
Reference in New Issue
Block a user