Issue Bug Closed

#66496RTE images from storages not being in ['BE']['fileadminDir'] are not prefixed with absRefPrefix

Markus Klein 04/20/15, 15:21 updated 10/02/18, 11:45

Description

Any image being parsed through parseFunc (eg. images in RTE) do not get prefixed with absRefPrefix.

The issues is that \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::setAbsRefPrefix() does not take FAL storages into account.

How to reproduce

  • Set config.absRefPrefix to some value (eg /)
  • Create another local storage next to fileadmin
  • Put an image each into fileadmin and this storage
  • Add both images to the RTE as “plain image”
  • Inspect the FE output and see the missing / for the src of the image from non-fileadmin storage

Reviews 2