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 #1

Updated by Gerrit Code Review over 8 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

Actions #2

Updated by Philipp Gampe over 8 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF