diff options
| author | 2017-10-07 14:06:46 +0200 | |
|---|---|---|
| committer | 2017-10-07 14:06:46 +0200 | |
| commit | 05228ed92fc26b17861c1d3b7939d6faaf5ec104 (patch) | |
| tree | 54b22178f371883779cb6fc59567e0bc7cf55870 /lib/favicons.php | |
| parent | 9bbec9a1e8035555bec014bc26f7ef178daaf725 (diff) | |
| parent | 4058ff3ff4631bcc2c9cba534162c80db5cf2b65 (diff) | |
Merge pull request #1656 from Alkarex/freshrss_user-agent
Remove SimplePie name from HTTP User-Agent string
Diffstat (limited to 'lib/favicons.php')
| -rw-r--r-- | lib/favicons.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/favicons.php b/lib/favicons.php index a7ed966a1..80246ee74 100644 --- a/lib/favicons.php +++ b/lib/favicons.php @@ -35,7 +35,7 @@ function downloadHttp(&$url, $curlOptions = array()) { CURLOPT_MAXREDIRS => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 15, - CURLOPT_USERAGENT => 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')', + CURLOPT_USERAGENT => FRESHRSS_USERAGENT, )); if (defined('CURLOPT_ENCODING')) { curl_setopt($ch, CURLOPT_ENCODING, ''); //Enable all encodings |
