diff options
author | jouni%heikniemi.net <> | 2004-05-23 16:22:32 +0200 |
---|---|---|
committer | jouni%heikniemi.net <> | 2004-05-23 16:22:32 +0200 |
commit | 39e9e3e67ce70d2fa7fefe947a6592f2541ba6ef (patch) | |
tree | 875e970dfa25d5fc558127deecb0de733708f615 /t | |
parent | 9b2916c36ef0a403e4a773e2316b1931f2179fa7 (diff) | |
download | bugzilla-39e9e3e67ce70d2fa7fefe947a6592f2541ba6ef.tar.gz bugzilla-39e9e3e67ce70d2fa7fefe947a6592f2541ba6ef.tar.xz |
Bug 141006: Run edit*.cgis in taint mode.
Patch by byron jones <bugzilla@glob.com.au>
r=jouni, a=justdave
Diffstat (limited to 't')
-rw-r--r-- | t/002goodperl.t | 9 |
1 files changed, 2 insertions, 7 deletions
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; |