From 8344a636fccc6c56b0b55a0c6c2577c3489f1651 Mon Sep 17 00:00:00 2001 From: Matthias Vogel Date: Tue, 14 Jun 2022 16:27:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20Content-Length=20header=20?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Configuration/RequestMiddlewares.php | 7 ++++++- ext_emconf.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Configuration/RequestMiddlewares.php b/Configuration/RequestMiddlewares.php index eeda815..78a5bbe 100644 --- a/Configuration/RequestMiddlewares.php +++ b/Configuration/RequestMiddlewares.php @@ -4,11 +4,16 @@ 'frontend' => [ 'minify/service/htmlminifier' => [ 'target' => \Pluswerk\PlusMinify\Middleware\MinifyMiddleware::class, + // in the request direction it is after these middlewares: + // but in response direction it is before these middlewares: 'after' => [ + 'typo3/cms-frontend/output-compression', + 'typo3/cms-frontend/content-length-headers', ], + // in the request direction it is before these middlewares: + // but in response direction it is after these middlewares: 'before' => [ 'typo3/cms-adminpanel/renderer', - 'typo3/cms-frontend/output-compression' ] ] ] diff --git a/ext_emconf.php b/ext_emconf.php index fe133f8..88c5622 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -12,7 +12,7 @@ 'uploadfolder' => '0', 'createDirs' => '', 'clearCacheOnLoad' => 0, - 'version' => '1.1.0', + 'version' => '1.1.1', 'constraints' =>[ 'depends' => [ 'typo3' => '10.99.99',