diff options
Diffstat (limited to 't')
-rw-r--r-- | t/cgi.t | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -131,6 +131,10 @@ EOF my $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"); |