aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-07-19 22:52:06 +0200
committerGravatar GitHub <noreply@github.com> 2025-07-19 22:52:06 +0200
commit01eae00ca2a5532b18682dfc55c83fce8725ee30 (patch)
tree969da6ceff8b1b06ee8ba98888f30cb869b17e5f /app/Models/Feed.php
parent0d158f37621e116767383c0fa7b8c4a141a360a7 (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.php4
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;
}