Bug #55614 » patch.diff
a/typo3/sysext/core/Classes/Resource/Filter/FileExtensionFilter.php → b/typo3/sysext/core/Classes/Resource/Filter/FileExtensionFilter.php | ||
---|---|---|
*/
|
||
protected function isAllowed($fileName) {
|
||
$result = TRUE;
|
||
$fileExt = pathinfo($fileName, PATHINFO_EXTENSION);
|
||
$fileExt = strtolower(pathinfo($fileName, PATHINFO_EXTENSION));
|
||
// Check allowed file extensions
|
||
if ($this->allowedFileExtensions !== NULL && count($this->allowedFileExtensions) > 0 && !in_array($fileExt, $this->allowedFileExtensions)) {
|
||
$result = FALSE;
|