Skip to content

A free, self-hostable news aggregator…

Quick fix PSHB encoding after Travis refactoring

Alexandre Alapetite62d68f8c6639
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,
))
)
);