X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fcgi.t;h=bd92ca361047f886cbdbace18521774703863882;hp=ef32a2845fee9f99a13d72c4ab093af17d48d1bc;hb=a46893a2b5dabfdbcf7b593ac19967daecfb1772;hpb=866837def71b9d70198f51e634e6141f75f0df3e diff --git a/t/cgi.t b/t/cgi.t index ef32a284..bd92ca36 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -155,22 +155,16 @@ EOF $res = cgi_run("/test/blahblah\@example.com/raw"); like($res->{body}, qr/Message-Id: /, "mid raw hit"); - $res = cgi_run("/test/blahblah\@example.con/raw"); - like($res->{head}, qr/Status: 300 Multiple Choices/, "mid raw miss"); $res = cgi_run("/test/blahblah\@example.com/"); like($res->{body}, qr/\A/, "mid html hit"); like($res->{head}, qr/Status: 200 OK/, "200 response"); - $res = cgi_run("/test/blahblah\@example.con/"); - like($res->{head}, qr/Status: 300 Multiple Choices/, "mid html miss"); $res = cgi_run("/test/blahblah\@example.com/f/"); like($res->{head}, qr/Status: 301 Moved/, "301 response"); like($res->{head}, qr!^Location: http://[^/]+/test/blahblah\@example\.com/\r\n!ms, '301 redirect location'); - $res = cgi_run("/test/blahblah\@example.con/"); - like($res->{head}, qr/Status: 300 Multiple Choices/, "mid html miss"); $res = cgi_run("/test/new.html"); like($res->{body}, qr/slashy%2Fasdf\@example\.com/,