Actions
Bug #95581
openFileNameValidator wrongly allows empty strings
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Security
Target version:
-
Start date:
2021-10-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
\TYPO3\CMS\Core\Resource\Security\FileNameValidator->isValid()
returns true for an empty string. This is wrong. Filenames may not be empty.
(Category Security because the class is in the Security namespace, re-categorize if this is wrong)
The according Test should also check for empty strings.
Actions