Issue Bug Closed

#82939absRefPrefix ignored for shortcut redirects (and probably also mountpoints)

Andreas Allacher 11/07/17, 13:01 updated 01/14/20, 15:44

Description

Only tested with 7 but the code didn’t change so the issue should still exist.
Currently in “TYPO3\CMS\Frontend\Http\RequestHandler“
$this->controller->checkPageForShortcutRedirect();
is executed before
$this->controller->preparePageContentGeneration();
where $this->controller->absRefPrefix / $GLOBALS[‘TSFE’]->absRefPrefix is set.
which results in the redirect link that is generated by typolink to ignore any set absRefPrefix and just append the current domain / directory information.

This realurl issue: https://github.com/dmitryd/typo3-realurl/issues/548
is also related.

Reviews 0

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