From 9ba8bb7ffa6d3dc125d21dea6afb54513b8f374e Mon Sep 17 00:00:00 2001 From: Sebastian Blank Date: Thu, 18 Dec 2014 22:19:29 +0100 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 18c26e61e8d..592f208ac44 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() ); }