From 62d68f8c6639c59bff4f4b41ab87a5e47c6d763c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 24 Sep 2017 12:16:41 +0200 Subject: Quick fix PSHB encoding after Travis refactoring https://github.com/FreshRSS/FreshRSS/pull/1619 Related to https://github.com/FreshRSS/FreshRSS/pull/1633 --- app/Models/Feed.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app') 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, )) ) ); -- cgit v1.2.3