[BUGFIX] Do not abort renameFile if filename sanitizable
It is possible to rename a file with ResourseStorage::renameFile(). This is also used under the hood, if a file is renamed in the file list. RenameFile also performs a sanitation of the filename, in case the filename was not yet sanitized (e.g. convert chars like space, quote, ö, ê, ß or §). But if the target filename is the same as the current filename, the sanitation was not performed. This is now fixed so that the behaviour is more consistent and sanitizing files with renameFile() is possible. Resolves: #100683 Releases: main, 12.4 Change-Id: Ia35747f1381f4aac64af50c461e172c9f951cf83 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79787 Tested-by:Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Please register or sign in to comment