#67061Upload of files with "Umlaute" is not possible for non-admins when utf8 filesystem is enabled
Description
Hi there
When a non-admin tries to upload a file with special characters in the name (e.g. täst.txt) and $GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘UTF8filesystem’] is active, the upload fails. This is because the default “fileDenyPattern” is not applied with the PCRE “u” option in GeneralUtility::verifyFilenameAgainstDenyPattern().
This can be fixed by making those two patterns PCRE_UTF8 /…/u.
Steps to reproduce:- $GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘UTF8filesystem’] = 1;
- Leave $GLOBALS[‘TYPO3_CONF_VARS’][‘BE’][‘fileDenyPattern’] as default
- Switch to non-admin user
- Upload a file with special characters in the file name (äöüéàè etc.)
Kind regards
Nils