Issue Bug Closed

#61334metadata extractor works not with files in a storage outside the DocumentRoot

Frank Nägler 09/03/14, 18:36 updated 09/03/14, 19:58

Description

files located inside a storage outside of the DocumentRoot can not be processed by a metadata extractor.

Inside \TYPO3\CMS\Core\Service\AbstractService::checkInputFile() the method \TYPO3\CMS\Core\Utility\GeneralUtility::isAllowedAbsPath($absFile) is called, which always returns false if the given path is outside of PATH_site.

This makes it impossible to extract metadata from files in a storage outside the DocumentRoot.

I think the call of isAllowedAbsPath is not correct and can be removed.

Reviews 1