Skip to content

Commit

Permalink
Merge pull request ezsystems#1118 from blankse/fix_EZP-23280
Browse files Browse the repository at this point in the history
Fix EZP-23280: [PHP-FPM&Apache] Server fault when logging to administrat...
  • Loading branch information
andrerom committed Dec 31, 2014
2 parents a4d1a77 + 9ba8bb7 commit 1eed4ef
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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() );
}

Expand Down

0 comments on commit 1eed4ef

Please sign in to comment.