From 570ca770d29d7800f79d6789c2b1142e383a348a Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 22 Dec 2008 15:50:50 +0000 Subject: Bug 470442: Only delete tainted environment variables if we're running in taint mode Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- testserver.pl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'testserver.pl') diff --git a/testserver.pl b/testserver.pl index 9b649277c..d3cab1dc5 100755 --- a/testserver.pl +++ b/testserver.pl @@ -21,13 +21,7 @@ use strict; use lib qw(. lib); -BEGIN { - my $envpath = $ENV{'PATH'}; - require Bugzilla; - # $ENV{'PATH'} is required by the 'ps' command to run correctly. - $ENV{'PATH'} = $envpath; -} - +use Bugzilla; use Bugzilla::Constants; use Socket; -- cgit v1.2.3-24-g4f1b