Actions
Bug #16098
closedFiles with two dot can not deleteed
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2006-04-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Files with 2 dots in the filename (tes..t.txt) can not be deleted.
If there are such files the klickmenu in the filelist still won't work. Deleting the file is only possible direcly on the server.
Tried in Typo3 4.0 and 3.8.1
(issue imported from #M3364)
Files
Updated by Martin Kutschker over 18 years ago
Better use this: preg_match('|(?:^\.\.|/\.\./|',$path). Checks for and "../foo/bar" or "fo/../bar" which must be forbidden.
Updated by U Stephan over 18 years ago
Thanks Martin, the Patch works.
But I don't know how to use the "better" solution?
Actions