Actions
Bug #71405
closedCreating a folder with an invalid name fatals
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-11-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Stabilization Sprint
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.
Actions