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 about 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 #1

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38889

Actions #2

Updated by Markus Klein about 9 years ago

  • Description updated (diff)
  • Status changed from Under Review to Accepted
  • Assignee set to Markus Klein
  • Complexity changed from medium to easy
Actions #3

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39084

Actions #4

Updated by Markus Klein almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF