Issue Bug Closed

#106735Upload of csv files not possible after security update

m s 05/20/25, 16:02 updated 12/02/25, 13:59

Description

After today’s security update to 12.4.31, the upload of simple CSV files no longer works because the MIMI type validation has been tightened.

Error:
Upload of file “test.csv” failed!
Mime-type “text/plain” not allowed for file extension “csv”

Explicitly allowing this MIME type with the following configuration prevents the second of the two error messages, but still does not allow the upload.

‘SYS’ => [
‘FileInfo’ => [
‘fileExtensionToMimeType’ => [
‘csv’ => [‘text/plain’],
],
],
],

The problem is that the standard MIME type of CSV files is not text/csv but text/plain.

Reviews 23