Bug #82719

FileNameFilter is missing basic functionality

Added by Beat Haenger 10 days ago. Updated 3 days ago.

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

0%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

TYPO3\CMS\Core\Resource\Filter\FileNameFilter cannot be used to filter files by name. It can only be used to show or hide hidden files. In the current implementation it should be called HiddenFileFilter.

It should be similar to FileExtensionFilter with a function filterFileList that can be called and applies the set name rescrictions.

It should have a getter and setter to give it a filename which must then be matched once filterFileList is called.

History

#1 Updated by Beat Haenger 10 days ago

  • Description updated (diff)

#2 Updated by Susanne Moog 3 days ago

  • Category set to File Abstraction Layer (FAL)

Also available in: Atom PDF