summaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-09-24 12:16:41 +0200
committerGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-09-24 12:16:41 +0200
commit62d68f8c6639c59bff4f4b41ab87a5e47c6d763c (patch)
treed3dc96079143ae61e757a8f80a01f10755a81dcb /app/Models/Feed.php
parent0578abf310314c81c97c98b647c186459486801f (diff)
Quick fix PSHB encoding after Travis refactoring
https://github.com/FreshRSS/FreshRSS/pull/1619 Related to https://github.com/FreshRSS/FreshRSS/pull/1633
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 002be711a..d8fe03197 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -487,9 +487,9 @@ class FreshRSS_Feed extends Minz_Model {
CURLOPT_USERAGENT => 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')',
CURLOPT_POSTFIELDS => http_build_query(array(
'hub.verify' => 'sync',
- 'hub.mode' => ($state ? 'subscribe' : 'unsubscribe'),
- 'hub.topic' => urlencode($url),
- 'hub.callback' => urlencode($callbackUrl),
+ 'hub.mode' => $state ? 'subscribe' : 'unsubscribe',
+ 'hub.topic' => $url,
+ 'hub.callback' => $callbackUrl,
))
)
);