Issue Bug Closed

#77118$GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFound_handling'] file path string 303s

Alvin no-lastname-given 07/15/16, 16:16 updated 10/19/16, 11:28

Description

I have the following conf for TYPO3 7.6.6

$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageNotFound_handling’] = ‘/?id=ID_OF_404_PAGE’;

In accordance to “String Static HTML file to show (reads content and outputs with correct headers), e.g. ‘notfound.html’ or ‘http://www.example.org/errors/notfound.html’”

When visiting a none existing page ID e.g. https://mydomain.com/?id=99999999, the site 303 redirect instead to that page when I expect it to issue a 404 while echoing the contents of ID_OF_404_PAGE. I get the same behaviour for

$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageNotFound_handling’] = ‘http://mydomain.com/?id=ID_OF_404_PAGE’;
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageNotFound_handling’] = ‘/my404.htm’;
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageNotFound_handling’] = ‘http://mydomain.com/my404.htm’;

Thanks

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.