aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-09-24 13:07:03 +0200
committerGravatar GitHub <noreply@github.com> 2017-09-24 13:07:03 +0200
commitc5b5d8fade4e44d68b90fb628536b26aa38127e9 (patch)
tree1b11f535f305d5358cd2d3d0ab57edf3577ff981
parenta38bd3da8a25dc250793fdb3938ab89c366a0d07 (diff)
parent62d68f8c6639c59bff4f4b41ab87a5e47c6d763c (diff)
Merge pull request #1643 from Alkarex/quick-fix-PSHB-after-travis
Quick fix PSHB encoding after Travis refactoring
-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,
))
)
);