A free, self-hostable news aggregator…
Fix headers given to SimplePie, e.g. for HTTP/2 (#8742)
Alexandre Alapetite8f317a0c3c37
diff --git a/app/Utils/httpUtil.php b/app/Utils/httpUtil.phpindex 57a508a01..aa927c6dc 100644--- a/app/Utils/httpUtil.php+++ b/app/Utils/httpUtil.php@@ -355,9 +355,7 @@ final class FreshRSS_http_Util {$responseHeaders = '';curl_setopt($ch, CURLOPT_HEADERFUNCTION, function (\CurlHandle $ch, string $header) use (&$responseHeaders) {- if (trim($header) !== '') { // Skip e.g. separation with trailer headers- $responseHeaders .= $header;- }+ $responseHeaders .= $header;return strlen($header);});