Project

General

Profile

Actions

Bug #52474

closed

Redirect generates wrong URLs if config.absRefPrefix is set to /

Added by Patrick Schriner over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2013-10-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Remote Sprint

Description

This is still an issue for at least 4.5 (no kidding).

It could be resolved if Tx_Extbase_MVC_Controller_AbstractController->redirect calls ->setCreateAbsoluteUri(TRUE) when building the link (which should be fine?).

Alternatively addBaseUriIfNecessary / getBaseURI could be fixed to not add whatever is after the domain name, but I'd guess that has more consequences.

Steps to reproduce:

  1. set config.absRefPrefix to /
  2. Build redirect link

Files

Actions

Also available in: Atom PDF