[BUGFIX] Absolute URIs get prefixed with absRefPrefix in typolink 18/47118/2
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:38 +0000 (20:51 +0100)
commitbbc5f6c28b250386e36df9bcfd92b0cbddad733e
treee69fde1c98150530544bf6765d646b5d88ce6ddc
parentdd6c4468783bb3e9266cca7180938b240285a3a6
[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/47118
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