diff options
author | Byron Jones <bjones@mozilla.com> | 2014-03-06 06:56:34 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2014-03-06 06:56:34 +0100 |
commit | 51539e843226f3a85776159d2cb68ce2cc192d24 (patch) | |
tree | e96411490a738d9d68dba742cc0b9610533c5ce7 /Bugzilla | |
parent | 197ac5efff0fe26ddebb621f8da16eca0752c367 (diff) | |
download | bugzilla-51539e843226f3a85776159d2cb68ce2cc192d24.tar.gz bugzilla-51539e843226f3a85776159d2cb68ce2cc192d24.tar.xz |
fix insecure dependency when calling metrics.pl
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Metrics/Reporter.pm | 1 |
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); } |