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
This commit is contained in:
bbaetz%cs.mcgill.ca 2001-11-17 07:19:46 +00:00
Родитель 10bf56a918
Коммит cc44249c91
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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';