[BUGFIX] Exception with cHashIncludePageId but no id in the URL 30/50030/2
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 27 Sep 2016 11:13:23 +0000 (14:13 +0300)
committerHelmut Hummel <typo3@helhum.io>
Wed, 12 Oct 2016 18:29:06 +0000 (20:29 +0200)
commit11668448514c8298bd19df4073c410ac434e130b
treea9d7e4f876c54b9e981e9490229c3a4520f9a2dc
parentd41ab0da960b87d4408cfd57b24c487218782ceb
[BUGFIX] Exception with cHashIncludePageId but no id in the URL

If the 'id' parameter is not provided in the URL but the
FE|cHashIncludePageId is set to true, TYPO3 will throw an exception. If
id is missing in $_GET, TYPO3 should use the determined id for the
check because in such case the id is assumed to be the uid of the home
page of the current site.

Resolves: #78021
Releases: master, 7.6, 6.2
Change-Id: Ib13d7aac9a75b2be54c7fddf6896af2f0a52e18e
Reviewed-on: https://review.typo3.org/50030
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Allacher <andreas.allacher@gmx.at>
Tested-by: Andreas Allacher <andreas.allacher@gmx.at>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php