We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2615a5d commit cee205bCopy full SHA for cee205b
tests/regression/misc/20-status-engine.pl renamed to tests/regression/misc/20-status-engine.t
@@ -46,4 +46,28 @@
46
"arg1=val1&arg2=val2",
47
),
48
},
49
+# On and SecServerSignature
50
+{
51
+ type => "misc",
52
+ comment => "SecStatusEngine On using SecServerSignature",
53
+ conf => qq(
54
+ SecRuleEngine On
55
+ SecServerSignature "SpiderServer v0.1a"
56
+ SecStatusEngine On
57
+ ),
58
+ match_log => {
59
+ error => [ qr/ModSecurity: StatusEngine call successfully sent/, 1],
60
+ -error => [ qr/StatusEngine call: .*SpiderServer v0.1a.*/, 1],
61
+ },
62
+ match_response => {
63
+ status => qr/^200$/,
64
65
+ request => new HTTP::Request(
66
+ POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
67
+ [
68
+ "Content-Type" => "application/x-www-form-urlencoded",
69
+ ],
70
+ "arg1=val1&arg2=val2",
71
72
+},
73
0 commit comments