Patch by byron jones <bugzilla@glob.com.au>
r=jouni, a=justdave
-#!/usr/bin/perl -w
+#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
-#!/usr/bin/perl -w
+#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
-#!/usr/bin/perl -w
+#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
-#!/usr/bin/perl -w
+#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
-#!/usr/bin/perl -w
+#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
-#!/usr/bin/perl -w
+#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
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;