diff options
| -rw-r--r-- | app/Models/Feed.php | 6 |
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, )) ) ); |
