From: bbaetz%cs.mcgill.ca <> Date: Sat, 17 Nov 2001 15:19:46 +0000 (+0000) Subject: Bug 101560 - clear some more env vars so that system calls will run in X-Git-Tag: bugzilla-2.14.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8de908a804e696a52b386516c3b4aad122a6fe9;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/globals.pl b/globals.pl index 92d4ec3523..0da5ec895c 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';