aboutsummaryrefslogtreecommitdiff
path: root/app/Models/SimplePieCustom.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-11-27 23:31:03 +0100
committerGravatar GitHub <noreply@github.com> 2025-11-27 23:31:03 +0100
commit76f5bee76d4640169d9a506b5b107f787797879c (patch)
tree60bc247ac1d79a4f4f712675b20dab6ad972597b /app/Models/SimplePieCustom.php
parent5e0093aa00a6b52df88f526a5b6f737eff057e0b (diff)
Better merging of custom HTTP headers (#8251)
Alternative to https://github.com/FreshRSS/FreshRSS/pull/8246 See https://github.com/FreshRSS/FreshRSS/issues/8189#issuecomment-3569434305
Diffstat (limited to 'app/Models/SimplePieCustom.php')
-rw-r--r--app/Models/SimplePieCustom.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/SimplePieCustom.php b/app/Models/SimplePieCustom.php
index 372ce6d3d..c3593e4a2 100644
--- a/app/Models/SimplePieCustom.php
+++ b/app/Models/SimplePieCustom.php
@@ -11,7 +11,7 @@ final class FreshRSS_SimplePieCustom extends \SimplePie\SimplePie
public function __construct(array $attributes = [], array $curl_options = []) {
parent::__construct();
$limits = FreshRSS_Context::systemConf()->limits;
- $this->get_registry()->register(\SimplePie\File::class, FreshRSS_SimplePieResponse::class);
+ $this->get_registry()->register(\SimplePie\File::class, FreshRSS_SimplePieFetch::class);
$this->set_useragent(FRESHRSS_USERAGENT);
$this->set_cache_name_function('sha1');
$this->set_cache_location(CACHE_PATH);