Issue Bug Closed

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

Patrick Schriner 10/02/13, 16:52 updated 10/19/17, 21:59

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

Reviews 0

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