summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorbbaetz%cs.mcgill.ca <>2001-11-17 16:19:46 +0100
committerbbaetz%cs.mcgill.ca <>2001-11-17 16:19:46 +0100
commitd8de908a804e696a52b386516c3b4aad122a6fe9 (patch)
tree64a907c4876a955284737091981ba53731499c3c /globals.pl
parentbfb12ba2bc7c2979ccdc87bac306eb09f367c062 (diff)
downloadbugzilla-d8de908a804e696a52b386516c3b4aad122a6fe9.tar.gz
bugzilla-d8de908a804e696a52b386516c3b4aad122a6fe9.tar.xz
Bug 101560 - clear some more env vars so that system calls will run in
taint mode. The perforce integration stuff needs this. r=gerv,mattyt
Diffstat (limited to 'globals.pl')
-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';