[BUGFIX] Prevent fatal error when uploading file with invalid filename 88/47588/3
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 08:19:26 +0000 (10:19 +0200)
commita1889e9994bc08697bd418e5ba049aa596be4734
treede90889fb99b2229a95bc1e9cc720345bb0f36c3
parente235b90cf1ac2ef521d534d1db252364b193859f
[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/47588
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Arjen Hoekema <arjenhoekema@gmail.com>
Tested-by: Arjen Hoekema <arjenhoekema@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php