mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
tests: fixes regression/config/10-misc-directives.t
SecDefaultAction was failing due to a wrong written test.
This commit is contained in:
parent
0ddd2b4639
commit
e5560a6a43
@ -13,7 +13,7 @@
|
||||
conf => qq(
|
||||
SecRuleEngine on
|
||||
SecDefaultAction "phase:1,deny,status:500"
|
||||
SecRule REQUEST_URI "test.txt,id:500240"
|
||||
SecRule REQUEST_URI "test.txt" "id:500241"
|
||||
),
|
||||
match_log => {
|
||||
error => [ qr/ModSecurity: Access denied with code 500 \(phase 1\)/, 1 ],
|
||||
|
Loading…
x
Reference in New Issue
Block a user