Issue Bug Closed

#64252prefixLocalAnchors broken by call to member function on a non-object

Peter Niederlag 01/12/15, 18:00 updated 01/12/15, 18:12

Description

Security fix introduced by #62723 for TypoScriptFrontendController->prefixLocalAnchorsWithScript() seems to be broken under certain circumstances. First requirement: You must not be logged into the backend. Other requiremenst are not clear to me yet (caches, typo3temp to be removed, uncached page, ???) but on single pages (others are working fine) we see:

Fatal error: Call to a member function getUrlToCurrentLocation() on a non-object in /data/www/sites/test12.niekom.de/shared/typo3_src/typo3_src-6.2/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php on line 4379

Reviews 0

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