Project

General

Profile

Actions

Bug #82939

closed

absRefPrefix ignored for shortcut redirects (and probably also mountpoints)

Added by Andreas Allacher over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2017-11-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF