[BUGFIX] Prevent fatal error when uploading file with invalid filename
The call to "addMessageToFlashMessageQueue" expects the second argument
to be an array instead of a string.
Additionally the type of the fifth argument of writeLog() has been corrected
troughout the class.
Resolves: #75531
Releases: master, 7.6
Change-Id: I1a96efea0f41abd2e4ae866254913a495e376cda
Reviewed-on: https://review.typo3.org/47640
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>