A free, self-hostable news aggregator…
Fix path disclosure in cache error message (#9206)
Inverle7529c71a7798
diff --git a/app/Utils/httpUtil.php b/app/Utils/httpUtil.phpindex 3bec549b0..11049ba7b 100644--- a/app/Utils/httpUtil.php+++ b/app/Utils/httpUtil.php@@ -738,7 +738,7 @@ final class FreshRSS_http_Util {}if ($cachePath !== null && file_put_contents($cachePath, $body) === false) {- Minz_Log::warning("Error saving cache $cachePath for $url");+ Minz_Log::warning("Error saving cache for $url");}return ['body' => is_string($body) ? $body : '', 'effective_url' => $c_effective_url, 'redirect_count' => $redirs,