[BUGFIX] Absolute URIs get prefixed with absRefPrefix in typolink 13/46113/7
authorOliver Hader <oliver@typo3.org>
Wed, 20 Jan 2016 18:18:24 +0000 (19:18 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 5 Mar 2016 19:51:14 +0000 (20:51 +0100)
commit552991869d10f93af99f0aa0959b58ff8fd48f00
tree8a7a97be5e4f3759abd52c4428a17ad36993bc90
parentb867832b9c15cf6c3ecd9a63ada8235605c23176
[BUGFIX] Absolute URIs get prefixed with absRefPrefix in typolink

An absolute URI (e.g. "/folder/someFile.png") gets prefixed with
absRefPrefix (e.g. "/") which results in "//folder/someFile.png",
which is a schema-less URI notation and thus "folder" is
interpreted as hostname.

Resolves: #72846
Releases: master, 7.6
Change-Id: Ic49c0a24a17f754c6c89186e6041b9857eb967b1
Reviewed-on: https://review.typo3.org/46113
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php