From 39e9e3e67ce70d2fa7fefe947a6592f2541ba6ef Mon Sep 17 00:00:00 2001 From: "jouni%heikniemi.net" <> Date: Sun, 23 May 2004 14:22:32 +0000 Subject: Bug 141006: Run edit*.cgis in taint mode. Patch by byron jones r=jouni, a=justdave --- t/002goodperl.t | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 't') diff --git a/t/002goodperl.t b/t/002goodperl.t index 1cfb6a06f..92a01fc2d 100644 --- a/t/002goodperl.t +++ b/t/002goodperl.t @@ -59,13 +59,8 @@ foreach my $file (@testitems) { ok(0, "$file is a module, but has a shebang"); next; } elsif ($ext eq "cgi") { - # cgi files must be taint checked, but only the user-accessible - # ones have been checked so far - if ($file =~ m/^edit/) { - $flags = "w"; - } else { - $flags = "wT"; - } + # cgi files must be taint checked + $flags = "wT"; } else { ok(0, "$file has shebang but unknown extension"); next; -- cgit v1.2.3-24-g4f1b