mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +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(
|
conf => qq(
|
||||||
SecRuleEngine on
|
SecRuleEngine on
|
||||||
SecDefaultAction "phase:1,deny,status:500"
|
SecDefaultAction "phase:1,deny,status:500"
|
||||||
SecRule REQUEST_URI "test.txt,id:500240"
|
SecRule REQUEST_URI "test.txt" "id:500241"
|
||||||
),
|
),
|
||||||
match_log => {
|
match_log => {
|
||||||
error => [ qr/ModSecurity: Access denied with code 500 \(phase 1\)/, 1 ],
|
error => [ qr/ModSecurity: Access denied with code 500 \(phase 1\)/, 1 ],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user