[TASK] Rename ResourceStorage::processUploadedFilename to sanitizeFileName 16/42116/9
authorFrans Saris <franssaris@gmail.com>
Wed, 29 Jul 2015 18:49:24 +0000 (20:49 +0200)
committerFrans Saris <franssaris@gmail.com>
Fri, 31 Jul 2015 11:38:29 +0000 (13:38 +0200)
commit84218a9af555a9fca1a3e1e7f4414a858d7078db
tree3b8880fd3fdff0fe5406609c7c10daa25a5d0cc1
parent0fc6f1cf3158a1cecf481f4b5c0e4f44c016e927
[TASK] Rename ResourceStorage::processUploadedFilename to sanitizeFileName

Feature #67545 introduced ResourceStorage::processUploadedFilename and
changed the existing PreFileAddSignal. The name of the newly introduced
method doesn't really fit its functionality and using the same signal
for
two different purposes is also not correct.

This change renames the method
processUploadedFilename() to sanitizeFileName()
and introduces the SanitizeFileNameSignal.
The changes made to PreFileAddSignal are reverted.

Resolves: #68600
Related: #67545
Releases: master
Change-Id: Iabeffe5b8b3fe85a4f49b9341a45b2a026dd241c
Reviewed-on: http://review.typo3.org/42116
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/backend/Classes/Controller/File/FileController.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Resource/ResourceStorageInterface.php
typo3/sysext/core/Documentation/Changelog/master/Feature-68600-IntroducedResourceStorageSanitizeFileNameSignal.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Important-68600-IntroducedResourceStorageSanitizeFileNameSignal.rst [new file with mode: 0644]