#104958TYPO3 can not handle filenames starting with two dots
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Chris Müller changed subject
TYOP3 can not handle filenames starting with two dotsTYPO3 can not handle filenames starting with two dots 09/13/24, 15:18 -
Andreas Kienast commented and changed status
NewRejected 04/24/25, 07:55
This is nothing we can handle properly. A file called
..Placeholder.pdfstarts with a dot, which is treated as a hidden file. That’s the same behavior as on macOS and Linux.Therefore I’ll close this ticket.