From 197411613872b82ebea6030ee6128cc99ec694b9 Mon Sep 17 00:00:00 2001 From: Matthias Vogel Date: Mon, 17 Jul 2023 15:51:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20php=20generator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Classes/Generator/PhpGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Generator/PhpGenerator.php b/Classes/Generator/PhpGenerator.php index f9543691525..7274f6704f5 100644 --- a/Classes/Generator/PhpGenerator.php +++ b/Classes/Generator/PhpGenerator.php @@ -25,7 +25,7 @@ public function generate(string $entryIdentifier, string $fileName, ResponseInte $accessTimeout = (int) $configuration->get('htaccessTimeout'); $lifetime = $accessTimeout ?: $lifetime; - $headers = $this->getReponseHeaders($response); + $headers = $configuration->getValidHeaders($response->getHeaders(), 'validHtaccessHeaders'); if ($configuration->isBool('debugHeaders')) { $headers['X-SFC-State'] = 'StaticFileCache - via PhpGenerator'; }