#21714t3lib_TStemplate::getFileName() handles path starting with media/ as magic
Description
The function t3lib_TStemplate::getFileName() considers any path starting with ‘media/’ like it is a shortcut to ‘typo3/sysext/cms/tslib/media/’ (which was the case in older TYPO3 installations).
If a directory ‘media’ exists the files inside this directory cannot be used in Typoscript FILE objects, etc.
The check if the file exists should be performed first and if that fails the path can be adjusted if it starts with ‘media/’
(issue imported from #M12794)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.