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

Commit aa1ff69

Browse files
authored
Merge pull request #1745 from airween/issue1741
Changed variable to lowercase (fixed #1741)
2 parents 3711365 + 7c84e93 commit aa1ff69

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
@@ -1130,7 +1130,7 @@ SecRule REQUEST_HEADERS_NAMES "@rx ^.*$" \
11301130
severity:'CRITICAL',\
11311131
setvar:'tx.header_name_%{tx.0}=/%{tx.0}/',\
11321132
chain"
1133-
SecRule TX:/^HEADER_NAME_/ "@within %{tx.restricted_headers}" \
1133+
SecRule TX:/^header_name_/ "@within %{tx.restricted_headers}" \
11341134
"setvar:'tx.anomaly_score_pl1=+%{tx.critical_anomaly_score}'"
11351135

11361136

0 commit comments

Comments
 (0)