]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/cgi.t
Revert "cgi: relax path restriction for top-level"
[public-inbox.git] / t / cgi.t
diff --git a/t/cgi.t b/t/cgi.t
index 91efca50a58a63c90fd90e81f8b859c9e6137f52..611fb60423060ef46b4aa8c16ebdcb7646cb3bd5 100644 (file)
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -156,10 +156,6 @@ EOF
        $res = cgi_run("/test/m/blahblah\@example.com.txt");
        like($res->{body}, qr/Message-Id: <blahblah\@example\.com>/,
                "mid.txt hit");
-
-       my $pfx = cgi_run("/prefixed/test/m/blahblah\@example.com.txt");
-       is_deeply($pfx, $res, "we do not have to be a top-level URL");
-
        $res = cgi_run("/test/m/blahblah\@example.con.txt");
        like($res->{head}, qr/Status: 404 Not Found/, "mid.txt miss");