Actions
Bug #96744
closedUnsupported file typ xxx.dwg (image/vnd.dwg)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-02-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
pending-close
Complexity:
Is Regression:
Sprint Focus:
Description
If you upload some "image" files to folder in fileadmin which are not listet in ImageMagickFile.php -> protected $allowedExtensions following error occures:
Unsupported file typ xxx.dwg (image/vnd.dwg)
This happens since introducing MimeTypeCollection.php where 'image/vnd.dwg' => ['dwg'], is added like other file types and TYPO3 ist now trying to send file through ImageMagick which can not handle the file type.
By manually (quick and dirty) adding protected $allowedExtensions = ['png', 'jpg', 'jpeg', 'gif', 'webp', 'tif', 'tiff', 'bmp', 'pcx', 'tga', 'ico', 'dwg']; to line 87 in ImageMagickFile.php I could solve the problem - but next update all get lost.
Files
Actions