We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f71b3e5 + b2ae49c commit 44c24b5Copy full SHA for 44c24b5
1 file changed
Classes/Controller/UserimportController.php
@@ -62,7 +62,7 @@ protected function initializeUploadAction()
62
// As Validators can contain state, do not inject them
63
$mimeTypeValidator = GeneralUtility::makeInstance(MimeTypeValidator::class);
64
$mimeTypeValidator->setOptions([
65
- 'allowedMimeTypes' => ['text/csv', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'],
+ 'allowedMimeTypes' => ['text/plain', 'text/csv', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'],
66
'ignoreFileExtensionCheck' => false,
67
'notAllowedMessage' => 'Not allowed file type',
68
'invalidExtensionMessage' => 'Invalid file extension',
0 commit comments