зеркало из https://github.com/mozilla/pjs.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
This commit is contained in:
Родитель
10bf56a918
Коммит
cc44249c91
|
@ -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';
|
||||
|
|
Загрузка…
Ссылка в новой задаче