diff options
author | Renato Botelho <renato@netgate.com> | 2017-07-05 13:27:43 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-07-05 13:27:51 -0300 |
commit | 6cc74faa449b3983daa82bd84250e8a3c0289e5e (patch) | |
tree | c6b8265b75a11fff64f8cdcbc677a1b23169d706 /src/usr/local | |
parent | 2bf67a6fe9e507e442f6894c78726047cf2d552a (diff) | |
download | pfsense-6cc74faa449b3983daa82bd84250e8a3c0289e5e.zip pfsense-6cc74faa449b3983daa82bd84250e8a3c0289e5e.tar.gz |
Remove extra spaces from User Agent
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/crash_reporter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/crash_reporter.php b/src/usr/local/www/crash_reporter.php index 9d474ce..a79a0a7 100644 --- a/src/usr/local/www/crash_reporter.php +++ b/src/usr/local/www/crash_reporter.php @@ -48,7 +48,7 @@ function upload_crash_report($files) { curl_setopt($ch, CURLOPT_SAFE_UPLOAD, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); if (!isset($config['system']['do_not_send_uniqueid'])) { - curl_setopt($ch, CURLOPT_USERAGENT, $g['product_name'] . '/' . $g['product_version'] . ' : ' . system_get_uniqueid()); + curl_setopt($ch, CURLOPT_USERAGENT, $g['product_name'] . '/' . $g['product_version'] . ':' . system_get_uniqueid()); } else { curl_setopt($ch, CURLOPT_USERAGENT, $g['product_name'] . '/' . $g['product_version']); } |