Project

General

Profile

Actions

Bug #96744

closed

Unsupported file typ xxx.dwg (image/vnd.dwg)

Added by Martin Weymayer almost 3 years ago. Updated 12 months ago.

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

96744_test.png (121 KB) 96744_test.png Oliver Hader, 2022-02-05 11:51

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #102535: Unsupported file typ xxx.dwg (image/vnd.dwg)Closed2023-11-27

Actions
Actions

Also available in: Atom PDF