[BUGFIX] Support URLs in image tag generation 63/43363/2
authorNicole Cordes <typo3@cordes.co>
Tue, 15 Sep 2015 23:29:37 +0000 (01:29 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 16 Sep 2015 13:15:15 +0000 (15:15 +0200)
commit64b87ff2967dd981b7bb6b387e87bb046314a0d9
tree68f6fa96e7b6eb9fb03838ff80b371d2139949d9
parente3a5f690b84c5f5c6116b2d4cebf208b356524f9
[BUGFIX] Support URLs in image tag generation

FAL files may return an absolute URL depending on the driver the
storage uses. Currently the absRefPrefix is prepended automatically
to the image source without analyzing the file path. This patch ensures
the prefix is only added for local files.

Resolves: #69861
Releases: master, 6.2
Change-Id: Ida5568372817ac6e840bcc366090fe3e8a925eec
Reviewed-on: http://review.typo3.org/43363
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php