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 e1d4611 commit b298ab2Copy full SHA for b298ab2
tests/modsecurity-limits.t
@@ -66,7 +66,7 @@ my $res2 = http_get($uri);
66
my $res3 = http_get($uri);
67
my $res4 = http_get($uri);
68
69
-like($res1, qr/limit test endpoint/, 'limitreq scoring 1 (pass)');
70
-like($res2, qr/limit test endpoint/, 'limitreq scoring 2 (pass)');
71
-like($res3, qr/^HTTP.*429/, 'limitreq scoring 3 (limited)');
72
-like($res4, qr/^HTTP.*429/, 'limitreq scoring 4 (limited)');
+like($res1, qr/^HTTP.*403/, 'limitreq scoring 1 (Blocked by ModSecurity)');
+like($res2, qr/^HTTP.*403/, 'limitreq scoring 2 (Blocked by ModSecurity)');
+like($res3, qr/^HTTP.*429/, 'limitreq scoring 3 (limited by nginx)');
+like($res4, qr/^HTTP.*429/, 'limitreq scoring 4 (limited by nginx)');
0 commit comments