[BUGFIX] Use POST for storing uc-related Storage in BE 63/51263/2
authorBenni Mack <benni@typo3.org>
Wed, 11 Jan 2017 01:14:08 +0000 (02:14 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 11 Jan 2017 11:33:14 +0000 (12:33 +0100)
commit179f16095bde426a1ea4c52dc18ee1ae6765eb11
tree09b25e83750f42aec7657b9a6d200ebe1d23c79e
parentf323cce6c4ccf4794bb5cce591d0bf605b730042
[BUGFIX] Use POST for storing uc-related Storage in BE

The AJAX call to store uc settings should be handled
as POST request, and not a GET request to ensure that
even long data can be stored on the server and not
run in Firewall/HTTP GET length restrictions.

Additionally a really bad typo did not allow any
POST requests in UserSettingsController as the key
evaluation was wrong.

Resolves: #79266
Releases: master, 7.6
Change-Id: I0fd10090416b1a16f6a9bdc6a07efceccf147336
Reviewed-on: https://review.typo3.org/51263
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/UserSettingsController.php
typo3/sysext/backend/Resources/Public/JavaScript/Storage.js