Project

General

Profile

Actions

Bug #61334

closed

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

Added by Frank Nägler about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-03
Due date:
% Done:

0%

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

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.

Actions

Also available in: Atom PDF