Project

General

Profile

Actions

Bug #71405

closed

Creating a folder with an invalid name fatals

Added by Philipp Gampe over 8 years ago. Updated over 5 years ago.

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

Also available in: Atom PDF