[BUGFIX] Do not overwrite status code of received response 73/59873/3
authorHelmut Hummel <typo3@helhum.io>
Tue, 5 Mar 2019 15:11:56 +0000 (16:11 +0100)
committerBenni Mack <benni@typo3.org>
Sat, 23 Mar 2019 20:30:55 +0000 (21:30 +0100)
commit05772fa3b5e58e58db1a64e380892d6a3508541e
tree1590e9144fe64e4938208b64973b53fb00d405e7
parent80e048e78a2b95014db1e2b1cd02f41b1599139f
[BUGFIX] Do not overwrite status code of received response

The ErrorController must not modify the received response
from the configured handler, to allow the handler to
change it to a suitable value.

Resolves: #87846
Releases: master, 9.5
Change-Id: I91d3ab0a78d383e5a0c9ee47ea21dc8634ddd3c9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59873
Reviewed-by: Stephan GroƟberndt <stephan.grossberndt@typo3.org>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Benjamin Franzke <bfr@qbus.de>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Error/PageErrorHandler/FluidPageErrorHandler.php
typo3/sysext/frontend/Classes/Controller/ErrorController.php