Issue Bug Closed

#106916Allow MIME type 'text/vcard' for .vcf file uploads in file list

Steffen W 06/20/25, 09:53 updated 12/02/25, 14:22

Description

Hello

it is currently not possible to upload a “.vcf” file with the MIME type ‘text/vcard’ via the file list.

If I understand https://datatracker.ietf.org/doc/html/rfc6350#section-3 correctly, this would be the latest MIME type.
Unfortunately I have not found another and better source

Possible solution:
Add 'text/vcard' => ['vcf']
https://github.com/TYPO3/typo3/blob/v13.4.14/typo3/sysext/core/Classes/Resource/MimeTypeCollection.php

I thought https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.4.x/Important-106735-FileMIMETypeCompatiblityMapping.html#important-106735-file-mime-type-compatiblity-mapping was already sufficient.

Unfortunately $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['mimeTypeCompatibility']['text/vcard']['vcf'] = 'text/vcard'; in the additional.php does not work in my system

Thanks!

Reviews 13