[BUGFIX] Do not prefix FAL file links with absRefPrefix 80/52380/3
authorHelmut Hummel <typo3@helhum.io>
Thu, 6 Apr 2017 20:31:36 +0000 (22:31 +0200)
committerHelmut Hummel <typo3@helhum.io>
Tue, 11 Apr 2017 09:20:57 +0000 (11:20 +0200)
commit3afc2f197463f8b976f19e40df81f775e168a76d
treee9f3998bd58433e85c4fe8756b4eedf0cc3b7a12
parenta519f63a2fdb496e030876e6ef378302a1d6a80e
[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/52380
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/frontend/Classes/Typolink/FileOrFolderLinkBuilder.php