Skip to content
Snippets Groups Projects
Commit cdeb7bd7 authored by Christian Spoo's avatar Christian Spoo Committed by Oliver Bartsch
Browse files

[BUGFIX] Make GeneralUtility::getFilesInDir() correctly check extensions

Invoke `str_ends_with` on lowercased filesystem entries in order to check
for allowed extensions. This is more stable than `substr`ing the
comma-separated list of extensions.

Resolves: #101035
Releases: main, 12.4
Change-Id: I6a0eee1f6ddb7406a8da168ed489aba6bfc83263
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80230


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent f854477b
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment