[BUGFIX] Ignore case in file extension filter 24/22724/5
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Sat, 3 Aug 2013 18:14:10 +0000 (20:14 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 7 Aug 2013 18:07:22 +0000 (20:07 +0200)
commit8c8bdfe059282687cff4a9fee54b8c60c0bcdfc0
treef085be862a5114e18f0ae1013dca568412dea42e
parent9bf2c389f2ec7f0c6a29b65d374e7e037210f253
[BUGFIX] Ignore case in file extension filter

This patch makes the FileExtensionFilter case insensitive.

If the filter is configured to allow files with the ".EXT"
extension it will now also allow files with an ".ext"
extension.

Additionally the order of a data provider method in the
FileExtensionFilterTest has been corrected.

Resolves: #50568
Releases: 6.2, 6.1, 6.0
Change-Id: I5761ab7f06116ef847caeb2ae786e580730c0e6b
Reviewed-on: https://review.typo3.org/22724
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Resource/Filter/FileExtensionFilter.php
typo3/sysext/core/Tests/Unit/Resource/Utility/FileExtensionFilterTest.php