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

Commit

Permalink
Changed variable to lowercase (modsec3 behavior fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
airween committed Apr 23, 2020
1 parent cf57fd5 commit 7c84e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ SecRule REQUEST_HEADERS_NAMES "@rx ^.*$" \
severity:'CRITICAL',\
setvar:'tx.header_name_%{tx.0}=/%{tx.0}/',\
chain"
SecRule TX:/^HEADER_NAME_/ "@within %{tx.restricted_headers}" \
SecRule TX:/^header_name_/ "@within %{tx.restricted_headers}" \
"setvar:'tx.anomaly_score_pl1=+%{tx.critical_anomaly_score}'"


Expand Down

0 comments on commit 7c84e93

Please sign in to comment.