[BUGFIX] ResourceStorage does not sanitize folder/file name 02/29202/6
authorFrans Saris <franssaris@gmail.com>
Sun, 6 Apr 2014 09:30:35 +0000 (11:30 +0200)
committerFrancois Suter <francois@typo3.org>
Wed, 16 Apr 2014 19:36:50 +0000 (21:36 +0200)
commit977f77214066a7ad9923f5f1cc2970e4f0ead5f9
treed26bdf89604828e33190b4b1ff591b33ccbfb3e9
parent88f7216971b9e34e1899448bdecc01b720db4a25
[BUGFIX] ResourceStorage does not sanitize folder/file name

On multiple places the new folder or filename is not sanitized
before the checks are done to see if the a folder of file with
that name already exists.

This patch makes sure the new names gets sanitized first and
also takes care that the name of the resultObject is passed to
the PostFolderMove, PostFolderCopy and PostFolderRename signals.

Resolves: #57681
Releases: 6.2
Change-Id: Id951ded531c9979e7cb4bdcd319f56a8f810fa96
Reviewed-on: https://review.typo3.org/29202
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Stefan Neufeind
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Francois Suter
Tested-by: Francois Suter
typo3/sysext/core/Classes/Resource/ResourceStorage.php