[BUGFIX] Set correct HTTP header when page access is denied 95/54495/4
authorMarkus Klein <markus.klein@typo3.org>
Sun, 29 Oct 2017 17:37:52 +0000 (18:37 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Tue, 28 Nov 2017 07:51:05 +0000 (08:51 +0100)
commit2ba1bc316e04606ed4a82f8cb257fcb71201607e
treebee84d16ae845a9d14dcc1107ecbdbd3de8c7d70
parente4bbf74fd92c46f2d79dae8574b325b40530da86
[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/54495
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml
typo3/sysext/core/Documentation/Changelog/8.7/Important-23178-NewTYPO3_CONF_VARSOptionFEpageNotFound_handling_accessdeniedheader.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Important-23178-NewTYPO3_CONF_VARSOptionFEpageNotFound_handling_accessdeniedheader.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php