Project

General

Profile

Actions

Bug #88571

closed

php extension fileinfo not required

Added by Anja Leichsenring over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Should have
Category:
-
Target version:
-
Start date:
2019-06-17
Due date:
% Done:

0%

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

Description

Class typo3/sysext/core/Classes/Type/File/FileInfo.php provides a function getMimeType, which uses functions of php extension fileinfo. If this extension is not available, mimetype will probably be false, at least if it is not provided by custom configuration via $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['fileExtensionToMimeType'].

In order to properly provide mimetype detection, the php extension fileinfo needs to be a requirement.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #74177: Remove fileinfo as dependency in SystemEnvironment/CheckClosedTimo Hund2016-03-04

Actions
Actions

Also available in: Atom PDF