summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--globals.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl
index 92d4ec352..0da5ec895 100644
--- a/globals.pl
+++ b/globals.pl
@@ -74,8 +74,7 @@ use Date::Parse; # For str2time().
use RelationSet;
# Some environment variables are not taint safe
-delete $ENV{PATH};
-delete $ENV{BASH_ENV};
+delete $ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};
# Contains the version string for the current running Bugzilla.
$::param{'version'} = '2.15';