[BUGFIX] Do not check file extension on local file 17/32817/2
authorAlexander Opitz <opitz.alexander@googlemail.com>
Wed, 17 Sep 2014 07:56:17 +0000 (09:56 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 21 Sep 2014 16:47:02 +0000 (18:47 +0200)
commita5905649de059f10cb2ebdbae75de5eca1952e55
treefd5955c766ba906c8d868692a971aa4268796d99
parentcf94b0b347f6cd486788f5588bf5ad59ce8e9e6d
[BUGFIX] Do not check file extension on local file

If a file is uploaded and file extension deny pattern is set,
we should not test this temporary file for extension permissions.
Also on adding a file into a storage do not need to test the
extension of the local file, the extension of the target file is
enough.

Resolves: #58367
Releases: master, 6.2
Change-Id: I95b1685746150e2b03c56a5680785ae0b2388cd9
Reviewed-on: http://review.typo3.org/32817
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Resource/ResourceStorage.php