diff options
| author | 2025-07-19 22:52:06 +0200 | |
|---|---|---|
| committer | 2025-07-19 22:52:06 +0200 | |
| commit | 01eae00ca2a5532b18682dfc55c83fce8725ee30 (patch) | |
| tree | 969da6ceff8b1b06ee8ba98888f30cb869b17e5f /app/Models/Feed.php | |
| parent | 0d158f37621e116767383c0fa7b8c4a141a360a7 (diff) | |
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
Diffstat (limited to 'app/Models/Feed.php')
| -rw-r--r-- | app/Models/Feed.php | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |
