[BUGFIX] Use POST for storing uc-related Storage in BE 57/51257/3
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 10:57:04 +0000 (11:57 +0100)
commitc6c06e54d7b02b6a672b63673526118cee021426
treee6558c17d6d9da1f4e1df388f6b26882fa36241a
parentf5a07ab7d7691873b76c45f8db29c954d5af4758
[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/51257
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.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