Kaynağa Gözat

Quick fix PSHB encoding after Travis refactoring

https://github.com/FreshRSS/FreshRSS/pull/1619
Related to https://github.com/FreshRSS/FreshRSS/pull/1633
Alexandre Alapetite 8 yıl önce
ebeveyn
işleme
62d68f8c66
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      app/Models/Feed.php

+ 3 - 3
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,
 					))
 				)
 			);