mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Adds support to the variables: REMOTE_HOST, SERVER_{ADDR,PORT}
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"debug_log":"Target value: \"200.249.12.11\" \\(Variable: REMOTE_HOST\\)"
|
||||
"debug_log":"Target value: \"200.249.12.31\" \\(Variable: REMOTE_HOST\\)"
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
@@ -76,7 +76,7 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"debug_log":"Target value: \"::1\" \\(Variable: REMOTE_HOST\\)"
|
||||
"debug_log":"Target value: \"200.249.12.31\" \\(Variable: REMOTE_HOST\\)"
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
|
Reference in New Issue
Block a user