Adjust redirects to new typolink format

This commit is contained in:
Björn Fromme
2018-09-25 12:44:42 +02:00
parent b2181f8de4
commit 29b9782b1e
@@ -163,6 +163,12 @@ class RequestService
*/
public function initTSFE($id = 1, $typeNum = 0)
{
// Preprocess possible typolink format
if (strpos($id, 't3://') !== false) {
parse_str(parse_url($id, PHP_URL_QUERY), $arguments);
$id = $arguments['uid'];
}
EidUtility::initTCA();
if (!is_object($GLOBALS['TT'])) {
$GLOBALS['TT'] = new NullTimeTracker;