diff options
author | Eric Wong <e@80x24.org> | 2014-04-15 07:10:17 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-15 07:13:43 +0000 |
commit | 3f9410e7a2663dc3f341f82687bef3e9dbea336a (patch) | |
tree | 471fa11847f42e0e0df5b2ef52df93687cf74eb9 /t | |
parent | d95eccbe97f1a48b76c8a80fc81d88a291676cdc (diff) | |
download | public-inbox-3f9410e7a2663dc3f341f82687bef3e9dbea336a.tar.gz |
CGI mounts should probably handle this internally. We're reverting this since it adds too much potential for abuse with fake/extra prefixes in the URL. We also need to reorder our redirect handling as a result. This reverts commit c394de9f2c91c2c5ed1f7832a5a7cc0206120b7f.
Diffstat (limited to 't')
-rw-r--r-- | t/cgi.t | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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"); |