From 76f5bee76d4640169d9a506b5b107f787797879c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 27 Nov 2025 23:31:03 +0100 Subject: 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 --- app/Models/SimplePieCustom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/SimplePieCustom.php') 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); -- cgit v1.2.3