Bug #71435
closedRevert of #69516 - [BUGFIX] IMG_RESOURCE does not prepend absRefPrefix
100%
Description
The original solution introduces various additional errors regarding absRefPrefix being prepended twice, e.g. imageLinkWrap or if using IMG_RESOURCE in typolink.
The issue is that the original solution isn't sound.
File paths are corrected in \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::setAbsRefPrefix() but only for paths inside double quotes "
which is why the original failed.
In order to solve the original we might also support single quotes but even then there would have to be a small change in the original code.
Otherwise, it is always possible to use typolink and returnLast
Original issue:
https://forge.typo3.org/issues/69516
Related tickets:
https://forge.typo3.org/issues/70718
https://forge.typo3.org/issues/71246