diff options
author | mkanat%bugzilla.org <> | 2008-12-22 16:50:50 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-12-22 16:50:50 +0100 |
commit | 570ca770d29d7800f79d6789c2b1142e383a348a (patch) | |
tree | 7a7e33417c8aef4c66d2e718efa87e75d1ace56e /testserver.pl | |
parent | 70b735126db509eda6f7d2c8cab64e3293b8319f (diff) | |
download | bugzilla-570ca770d29d7800f79d6789c2b1142e383a348a.tar.gz bugzilla-570ca770d29d7800f79d6789c2b1142e383a348a.tar.xz |
Bug 470442: Only delete tainted environment variables if we're running in taint mode
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'testserver.pl')
-rwxr-xr-x | testserver.pl | 8 |
1 files changed, 1 insertions, 7 deletions
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; |