Skip to content

Commit 0438377

Browse files
defanatorvictorhora
authored andcommitted
Fix tests after the following change in library:
owasp-modsecurity/ModSecurity@42a472a
1 parent 37b76e8 commit 0438377

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: tests/modsecurity-proxy.t

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ http {
8686
modsecurity on;
8787
modsecurity_rules '
8888
SecRuleEngine On
89+
SecResponseBodyAccess On
8990
SecDefaultAction "phase:4,log,deny,status:403"
9091
SecRule ARGS "@streq redirect301" "id:1,phase:4,status:301,redirect:http://www.modsecurity.org"
9192
SecRule ARGS "@streq redirect302" "id:2,phase:4,status:302,redirect:http://www.modsecurity.org"

Diff for: tests/modsecurity.t

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ http {
9797
modsecurity on;
9898
modsecurity_rules '
9999
SecRuleEngine On
100+
SecResponseBodyAccess On
100101
SecDefaultAction "phase:4,log,deny,status:403"
101102
SecRule ARGS "@streq redirect301" "id:1,phase:4,status:301,redirect:http://www.modsecurity.org"
102103
SecRule ARGS "@streq redirect302" "id:2,phase:4,status:302,redirect:http://www.modsecurity.org"

0 commit comments

Comments
 (0)