summaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-10-07 14:06:46 +0200
committerGravatar GitHub <noreply@github.com> 2017-10-07 14:06:46 +0200
commit05228ed92fc26b17861c1d3b7939d6faaf5ec104 (patch)
tree54b22178f371883779cb6fc59567e0bc7cf55870 /app/Models/Feed.php
parent9bbec9a1e8035555bec014bc26f7ef178daaf725 (diff)
parent4058ff3ff4631bcc2c9cba534162c80db5cf2b65 (diff)
Merge pull request #1656 from Alkarex/freshrss_user-agent
Remove SimplePie name from HTTP User-Agent string
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index d8fe03197..44d518a47 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -484,7 +484,7 @@ class FreshRSS_Feed extends Minz_Model {
CURLOPT_URL => $hubJson['hub'],
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_RETURNTRANSFER => true,
- CURLOPT_USERAGENT => 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')',
+ CURLOPT_USERAGENT => FRESHRSS_USERAGENT,
CURLOPT_POSTFIELDS => http_build_query(array(
'hub.verify' => 'sync',
'hub.mode' => $state ? 'subscribe' : 'unsubscribe',