Project

General

Profile

Actions

Bug #66496

closed

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

Added by Markus Klein almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Frontend
Target version:
Start date:
2015-04-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

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
Actions

Also available in: Atom PDF