#106916Allow MIME type 'text/vcard' for .vcf file uploads in file list
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
- 12.4 90651[TASK] Extend allowed list of uploadable text/misc files
- 13.4 90650[TASK] Extend allowed list of uploadable text/misc files
- main 90575[TASK] Extend allowed list of uploadable text/misc files
- 12.4 90596[TASK] Add more common MIME type replacements and file extensions
- 13.4 90595[TASK] Add more common MIME type replacements and file extensions
- main 89987[TASK] Add more common MIME type replacements and file extensions
- main 90577[TASK] Extend allowed list of uploadable `mediafile_ext` files
- 12.4 89966[BUGFIX] Use distinct XLF label for MIME-Type error message
- 13.4 89965[BUGFIX] Use distinct XLF label for MIME-Type error message
- main 89952[BUGFIX] Use distinct XLF label for MIME-Type error message
- 12.4 89879[BUGFIX] Improve allowed MIME type handling, add vcf handling
- 13.4 89878[BUGFIX] Improve allowed MIME type handling, add vcf handling
- main 89779[BUGFIX] Improve allowed MIME type handling, add vcf handling
Related issues 3
History 712
-
Garvin Hicking changed status
NewAccepted parent task #106772 Is Regression 1 <span data-processor="relativetime" data-value="2025-06-20T12:27:13+00:00" > 06/20/25, 12:27 </span> -
Garvin Hicking changed Related to #106735 <span data-processor="relativetime" data-value="2025-06-20T12:27:46+00:00" > 06/20/25, 12:27 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 89779 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-06-20T12:33:18+00:00" > 06/20/25, 12:33 </span> -
Gerrit Code Review pushed patch set 2 for main to change 89779 <span data-processor="relativetime" data-value="2025-06-23T14:25:07+00:00" > 06/23/25, 14:25 </span>
-
Garvin Hicking commented <span data-processor="relativetime" data-value="2025-06-23T15:58:51+00:00" > 06/23/25, 15:58 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 89779 <span data-processor="relativetime" data-value="2025-06-23T16:15:50+00:00" > 06/23/25, 16:15 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 89878 <span data-processor="relativetime" data-value="2025-06-25T13:09:18+00:00" > 06/25/25, 13:09 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 89879 <span data-processor="relativetime" data-value="2025-06-25T13:09:30+00:00" > 06/25/25, 13:09 </span>
-
Garvin Hicking commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-06-25T14:00:14+00:00" > 06/25/25, 14:00 </span>Applied in changeset commit:5d1604f1d1ccae17456129a06923819ba91986bc.
-
Garvin Hicking changed Related to #107008 <span data-processor="relativetime" data-value="2025-07-01T08:28:25+00:00" > 07/01/25, 08:28 </span>
-
Garvin Hicking changed Related to #107021 <span data-processor="relativetime" data-value="2025-07-02T14:41:30+00:00" > 07/02/25, 14:41 </span>
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:22:37+00:00" > 12/02/25, 14:22 </span>
Please note: You should be able to adapt this via:
Our pending bugfix will need to wait a bit because the cause of this could be related to the underlying library which in turn uses RFC/IANA sources that do not properly map “text/vcard” mime types, as they are reported from PHP.