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:43 -0300 |
commit | ba7d82b0b7ea780f7907e1a31064d2d8a5a919a1 (patch) | |
tree | 570243fcc32a14d3dcf71ad652d892c07cb42fd0 /src/usr | |
parent | 41744bf96fcfe754da1e812c0cb3d7bf98a56dd1 (diff) | |
download | pfsense-ba7d82b0b7ea780f7907e1a31064d2d8a5a919a1.zip pfsense-ba7d82b0b7ea780f7907e1a31064d2d8a5a919a1.tar.gz |
Remove extra spaces from User Agent
Diffstat (limited to 'src/usr')
-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 74af74e..7e8e5e8 100644 --- a/src/usr/local/www/crash_reporter.php +++ b/src/usr/local/www/crash_reporter.php @@ -80,7 +80,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']); } |