Issue Bug Closed

#71405Creating a folder with an invalid name fatals

Philipp Gampe 11/07/15, 23:25 updated 10/02/18, 11:29

Description

Try to create a folder in fileadmin (toplevel) with the name “../Test1234345”.

Result is a fatal exception. A flashmessage should be shown instead.

Uncaught TYPO3 Exception
#1320288991: File name .. is invalid. (More information)

TYPO3\CMS\Core\Resource\Exception\InvalidFileNameException thrown in file
/home/phil/t3-playground/t3-git/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php in line 336.

Solution: Catch the exception.

Reviews 1