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() ); }