[BUGFIX] Prevent fatal error when uploading file with invalid filename 40/47640/2
authorArjen Hoekema <arjenhoekema@gmail.com>
Tue, 12 Apr 2016 07:37:32 +0000 (09:37 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Wed, 13 Apr 2016 09:34:10 +0000 (11:34 +0200)
commit4e1103bccc29de9bb313bddd7b689065c98737da
tree2ce6497cd82a57880acbb764e5773b31ec19d66a
parent047d5a0a40b2d5e760a69228ab3bfb13d56de2e8
[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>
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php