[BUGFIX] Allow form definitions to be moved or put to recycle folder 53/57653/3
authorOliver Hader <oliver@typo3.org>
Mon, 23 Jul 2018 14:09:27 +0000 (16:09 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 26 Jul 2018 10:06:40 +0000 (12:06 +0200)
commit063c9f32edd01df0a5fb5e3866528bc14083525e
tree472c864c6190f209bfc66cdcf3c87f7c6fcf70f7
parentc9ebde4c434add1419ac51358bc24ff631f174b2
[BUGFIX] Allow form definitions to be moved or put to recycle folder

After fixing the issue of TYPO3-CORE-SA-2018-003 file commands for
form definitions (those ending with new ".form.yaml" extension) has
been limited. Since the "move" command theoretically would allow to
move and rename a file, it has been denied as well. However, it is
okay to move those files around in case the file extension has not
been changed or when being moved to a recycle folder.

Resolves: #85570
Releases: master, 8.7
Change-Id: Ic1f40d061b330d62138a42be9e868fca77b17187
Reviewed-on: https://review.typo3.org/57653
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/form/Classes/Slot/FilePersistenceSlot.php