[BUGFIX] Fix regression in prefixLocalAchors feature 89/35989/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 12 Jan 2015 17:23:49 +0000 (18:23 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 13 Jan 2015 12:43:55 +0000 (13:43 +0100)
commita919fd0361c38af97d9bd08b7a7f5198bae56bb5
treeeca5f5db591711841902ef3eeb35468a7b8edef8
parent5785807b0959e7b1cbfad1639d674d2cb4f60f95
[BUGFIX] Fix regression in prefixLocalAchors feature

The security fix for #62723 missed an edge case were the
TypoScriptFrontendController main cObj property is not yet initialized.

Check for this case and create it.

Resolves: #63896
Releases: 4.5, 6.2, master
Change-Id: Ief9338453517e095d120007d8d13ba6405d6fbb8
Reviewed-on: http://review.typo3.org/35989
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Oliver Gassner <og@plan2.net>
Reviewed-by: georg kuehnberger <gk@plan2.net>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Peter Niederlag <peter.niederlag@typo3.org>
Tested-by: Peter Niederlag <peter.niederlag@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php