Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit d97d086

Browse files
authored
Add slash after localhost
1 parent d0bab2f commit d97d086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ SecRule REQUEST_HEADERS:Connection "@rx \b(?:keep-alive|close),\s?(?:keep-alive|
414414
# http://www.ietf.org/rfc/rfc1738.txt
415415
#
416416
# -=[ Example payload ]=-
417-
# http://localhost?s=a%20b%20c%'/
417+
# http://localhost/?s=a%20b%20c%'/
418418
# reason: %'/ is not a valid url encoding
419419
#
420420
SecRule REQUEST_URI "@rx \%(?:(?!$|\W)|[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})" \

0 commit comments

Comments
 (0)