From 01eae00ca2a5532b18682dfc55c83fce8725ee30 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 19 Jul 2025 22:52:06 +0200 Subject: WebSub: only perform a redirect when coming from WebSub (#7738) And add support for HTTP Link header for "self" URL Changing URL based on "self" URL will only be done when coming from a WebSub push fix https://github.com/FreshRSS/FreshRSS/issues/7737 --- app/Models/Feed.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/Models/Feed.php') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index b91d1af75..171b054ca 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -463,6 +463,10 @@ class FreshRSS_Feed extends Minz_Model { $this->url = $url; } + public function _selfUrl(string $value): void { + $this->selfUrl = $value; + } + public function _kind(int $value): void { $this->kind = $value; } -- cgit v1.2.3