summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-03-06 06:56:34 +0100
committerByron Jones <bjones@mozilla.com>2014-03-06 06:56:34 +0100
commit51539e843226f3a85776159d2cb68ce2cc192d24 (patch)
treee96411490a738d9d68dba742cc0b9610533c5ce7 /Bugzilla
parent197ac5efff0fe26ddebb621f8da16eca0752c367 (diff)
downloadbugzilla-51539e843226f3a85776159d2cb68ce2cc192d24.tar.gz
bugzilla-51539e843226f3a85776159d2cb68ce2cc192d24.tar.xz
fix insecure dependency when calling metrics.pl
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Metrics/Reporter.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Metrics/Reporter.pm b/Bugzilla/Metrics/Reporter.pm
index 42d2c3abc..88a08c9b8 100644
--- a/Bugzilla/Metrics/Reporter.pm
+++ b/Bugzilla/Metrics/Reporter.pm
@@ -43,6 +43,7 @@ sub background {
# spawn delivery worker
my $command = bz_locations()->{'cgi_path'} . "/metrics.pl '$class' '$filename' &";
+ $ENV{PATH} = '';
system($command);
}