mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-12 21:06:01 +03:00
Merge pull request #3430 from airween/v3/confvaluepathfix
fix: add Windows specific characters to config value syntax
This commit is contained in:
commit
0ac551b070
File diff suppressed because it is too large
Load Diff
@ -405,7 +405,7 @@ CONFIG_VALUE_ONLYARGS (?i:OnlyArgs)
|
||||
CONFIG_VALUE_OFF (?i:Off)
|
||||
CONFIG_VALUE_ON (?i:On)
|
||||
CONFIG_VALUE_PARALLEL (?i:Parallel|Concurrent)
|
||||
CONFIG_VALUE_PATH [0-9A-Za-z_\/\.\-\*\:]+
|
||||
CONFIG_VALUE_PATH (?i:[0-9a-z_/.*: \\()-]+)
|
||||
CONFIG_VALUE_PROCESS_PARTIAL (?i:ProcessPartial)
|
||||
CONFIG_VALUE_REJECT (?i:Reject)
|
||||
CONFIG_VALUE_RELEVANT_ONLY (?i:RelevantOnly)
|
||||
|
@ -212,7 +212,7 @@
|
||||
]
|
||||
},
|
||||
"expected": {
|
||||
"audit_log": "{\"transaction\":{\"client_ip\":\"200.249.12.31\",\"time_stamp\":\"\\S{3} \\S{3} \\d{2} \\d{2}:\\d{2}:\\d{2} \\d{4}\"",
|
||||
"audit_log": "{\"transaction\":{\"client_ip\":\"200.249.12.31\",\"time_stamp\":\"\\S{3} \\S{3} [ \\d]\\d \\d{2}:\\d{2}:\\d{2} \\d{4}\"",
|
||||
"debug_log": "",
|
||||
"error_log": "",
|
||||
"http_code": 403
|
||||
|
Loading…
x
Reference in New Issue
Block a user