[BUGFIX] Do not prefix FAL file links with absRefPrefix 15/52615/2
authorHelmut Hummel <typo3@helhum.io>
Thu, 6 Apr 2017 20:31:36 +0000 (22:31 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 27 Apr 2017 09:16:01 +0000 (11:16 +0200)
commitce160ba5b1de4aedb24382a73fa3950a0055dd9c
tree5ff6b527ea12b4e4396ac9f5e46ffec32a47fd8f
parent2f82503a34c56219f00da578c540e9c2e4cf9108
[BUGFIX] Do not prefix FAL file links with absRefPrefix

When using an external FAL storage the public URLs of files contain a scheme.
Check for the scheme before prefixing with absRefPrefix
in file link builder.

Resolves: #80740
Releases: 7.6, master
Change-Id: I98c1027931f6c4c05561e35d1d7938aefd66eda0
Reviewed-on: https://review.typo3.org/52615
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php