From 60a8a1be94eb7312700177ba6c2bfcb9a07d30d6 Mon Sep 17 00:00:00 2001 From: Sebastian Blank Date: Tue, 5 Jul 2016 16:58:37 +0200 Subject: [PATCH] Fix EZP-23280: [PHP-FPM&Apache] Server fault when logging to administration interface --- .../LegacyResponse/LegacyResponseManager.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php b/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php index 18c26e61e..592f208ac 100644 --- a/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php +++ b/eZ/Bundle/EzPublishLegacyBundle/LegacyResponse/LegacyResponseManager.php @@ -112,6 +112,8 @@ public function generateRedirectResponse( ezpKernelRedirect $redirectResult ) { // Remove duplicate Location header. $this->removeHeader( 'location' ); + // Remove duplicate Content-Type header. + $this->removeHeader( 'content-type' ); return new RedirectResponse( $redirectResult->getTargetUrl(), $redirectResult->getStatusCode() ); }