From d8de908a804e696a52b386516c3b4aad122a6fe9 Mon Sep 17 00:00:00 2001 From: "bbaetz%cs.mcgill.ca" <> Date: Sat, 17 Nov 2001 15:19:46 +0000 Subject: 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 --- globals.pl | 3 +-- 1 file changed, 1 insertion(+), 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'; -- cgit v1.2.3-24-g4f1b