Bug #101035 » GeneralUtilityFixAllowedFileExtensionFilter.patch
Classes/Utility/GeneralUtility.php → Classes/Utility/GeneralUtility.php (date 1676644649547) | ||
---|---|---|
}
|
||
foreach ($allowedFileExtensionArray as $allowedFileExtension) {
|
||
$allowedFileExtension = '.'.$allowedFileExtension;
|
||
if (
|
||
($extensionList === ',,' || stripos($extensionList, ',' . substr($entry, strlen($allowedFileExtension) * -1, strlen($allowedFileExtension)) . ',') !== false)
|
||
($extensionList === ',,' || strtolower(substr($entry, strlen($allowedFileExtension) * -1)) === $allowedFileExtension)
|
||
&& ($excludePattern === '' || !preg_match('/^' . $excludePattern . '$/', $entry))
|
||
) {
|
||
if ($order !== 'mtime') {
|