Skip to content

Commit

Permalink
Fix character range
Browse files Browse the repository at this point in the history
  • Loading branch information
airween committed Aug 21, 2024
1 parent f32c242 commit f377c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/REQUEST-922-MULTIPART-ATTACK.conf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ SecRule MULTIPART_PART_HEADERS "@rx content-transfer-encoding:(.*)" \
# Multipart header names can't contain any characters outside of range 33 and 126.
# RFC 2045 refers RFC 822 about the header syntax.
# Note: this is in phase:2 because these are headers that come in the body
SecRule MULTIPART_PART_HEADERS "@rx [^\x20-\x7E]" \
SecRule MULTIPART_PART_HEADERS "@rx [^\x21-\x7E]" \
"id:922130,\
phase:2,\
block,\
Expand Down

0 comments on commit f377c6a

Please sign in to comment.