Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #40 from blankse/patch-1
Browse files Browse the repository at this point in the history
Fix EZP-23280: [PHP-FPM&Apache] Server fault when logging to administ…
  • Loading branch information
emodric authored Jul 5, 2016
2 parents 902032b + 60a8a1b commit b73f329
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
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 b73f329

Please sign in to comment.