]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 101560 - clear some more env vars so that system calls will run in
authorbbaetz%cs.mcgill.ca <>
Sat, 17 Nov 2001 15:19:46 +0000 (15:19 +0000)
committerbbaetz%cs.mcgill.ca <>
Sat, 17 Nov 2001 15:19:46 +0000 (15:19 +0000)
taint mode. The perforce integration stuff needs this.

r=gerv,mattyt

globals.pl

index 92d4ec3523d70e958520cdb537ef45cb204a396b..0da5ec895c3fbe0519217d0b29315b97b0fc2821 100644 (file)
@@ -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';