[BUGFIX] Set correct HTTP header when page access is denied 14/54814/5
authorMarkus Klein <markus.klein@typo3.org>
Sun, 29 Oct 2017 17:37:52 +0000 (18:37 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 28 Nov 2017 10:43:16 +0000 (11:43 +0100)
commitbb39b2263acca70ad4cd78e787da9edfc332c767
tree074dfe0f35f4473c3ae2f888e9c48fbd5664f28e
parent15f066161b44369e0295087f605c5a221f495863
[BUGFIX] Set correct HTTP header when page access is denied

Accessing an existing page with insufficient permissions should
not set a 404 header but a 403 header.

Resolves: #23178
Releases: master, 8.7
Change-Id: I2470434f7600b28eaa613ee4e1669e78ceaaaec3
Reviewed-on: https://review.typo3.org/54814
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/DefaultConfigurationDescription.php
typo3/sysext/core/Documentation/Changelog/8.7/Important-23178-NewTYPO3_CONF_VARSOptionFEpageNotFound_handling_accessdeniedheader.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php