A free, self-hostable news aggregator…
Do not obbey rel=self if WebSub is disabled (#2659)
Alexandre Alapetitebb5d15f7c613
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.phpindex aabeb80ff..3eb2316b8 100755--- a/app/Controllers/feedController.php+++ b/app/Controllers/feedController.php@@ -415,8 +415,8 @@ class FreshRSS_feed_Controller extends Minz_ActionController {$entryDAO->commit();}- if ($feed->hubUrl() && $feed->selfUrl()) { //selfUrl has priority for WebSub- if ($feed->selfUrl() !== $url) { //https://code.google.com/p/pubsubhubbub/wiki/MovingFeedsOrChangingHubs+ if ($pubSubHubbubEnabled && $feed->hubUrl() && $feed->selfUrl()) { //selfUrl has priority for WebSub+ if ($feed->selfUrl() !== $url) { // https://github.com/pubsubhubbub/PubSubHubbub/wiki/Moving-Feeds-or-changing-Hubs$selfUrl = checkUrl($feed->selfUrl());if ($selfUrl) {Minz_Log::debug('WebSub unsubscribe ' . $feed->url(false));