[BUGFIX] Send payload of image cropping wizard via POST 85/58785/5
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 29 Oct 2018 22:04:10 +0000 (23:04 +0100)
committerBenni Mack <benni@typo3.org>
Thu, 8 Nov 2018 19:37:02 +0000 (20:37 +0100)
commit4532a1adf9bd3f74048bcae590c6e5b2c2c7efc3
tree91a6ab20e659ca9cb318dd3767e0097217ba8851
parenta445cca676a5c03f2c95818b32ec5c3694137e33
[BUGFIX] Send payload of image cropping wizard via POST

The image cropper wizard configuration can become very large, which
might break the wizard as the configuration is sent via query parameters
and "Request-URI Too Long" might kick in.

The payload is now sent via POST to bypass this issue. As our Modal API
is currently not capable of sending AJAX requests via POST, the logic
regarding the icon spinner is duplicated for the time being.

Resolves: #82225
Releases: master, 8.7
Change-Id: I7106b62fcc09101bc5147277225d1b8e89133d5c
Reviewed-on: https://review.typo3.org/58785
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Jonas Eberle <flightvision@googlemail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Controller/Wizard/ImageManipulationController.php
typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php
typo3/sysext/backend/Resources/Private/Templates/ImageManipulation/ImageManipulationElement.html
typo3/sysext/backend/Resources/Private/TypeScript/ImageManipulation.ts
typo3/sysext/backend/Resources/Public/JavaScript/ImageManipulation.js