Project

General

Profile

Actions

Bug #104958

open

TYPO3 can not handle filenames starting with two dots

Added by Remo H. 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2024-09-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Reproduce:
1) Upload a file named "Placeholder.pdf" in the Filelist module
2) Rename the file to "..Placeholder.pdf"

In TYPO3 v12 the file will disapear in the file list without an error.
The file still exists on the filesystem.

In TYPO3 v10 following error is thrown:

File ..Placeholder.pdf is not valid (".." and "//" is not allowed in path). in typo3/sysext/core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php line 53

Expected:
Uploading or renaming a file to a name starting with two dots is possible.

Actions #1

Updated by Chris Müller 2 months ago

  • Subject changed from TYOP3 can not handle filenames starting with two dots to TYPO3 can not handle filenames starting with two dots
Actions

Also available in: Atom PDF