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

Commit d78180a

Browse files
authored
Merge pull request #921 from coolt/example-920220-3.1
example to url rule 920220
2 parents 7c8727b + d97d086 commit d78180a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,10 @@ SecRule REQUEST_HEADERS:Connection "@rx \b(?:keep-alive|close),\s?(?:keep-alive|
413413
# -=[ References ]=-
414414
# http://www.ietf.org/rfc/rfc1738.txt
415415
#
416+
# -=[ Example payload ]=-
417+
# http://localhost/?s=a%20b%20c%'/
418+
# reason: %'/ is not a valid url encoding
419+
#
416420
SecRule REQUEST_URI "@rx \%(?:(?!$|\W)|[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})" \
417421
"id:920220,\
418422
phase:2,\

0 commit comments

Comments
 (0)