Bug #71405

Creating a folder with an invalid name fatals

Added by Philipp Gampe about 5 years ago. Updated over 2 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.

#1

Updated by Gerrit Code Review about 5 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44611

#2

Updated by Philipp Gampe about 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#3

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF