[TASK] Use &route=/ajax/ instead of &ajaxId for BE AJAX calls 59/53459/6
authorBenni Mack <benni@typo3.org>
Thu, 13 Jul 2017 14:38:44 +0000 (16:38 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Mon, 31 Jul 2017 09:29:11 +0000 (11:29 +0200)
commitceee1287a04c03fb304f300db8a45c4f196b91e9
tree46e5b6727ed451a22e7aa4ba691017f4771ee0e6
parentc084e085d682ef2a2fe45dd0549533072d1c366b
[TASK] Use &route=/ajax/ instead of &ajaxId for BE AJAX calls

In order to streamline backend usage even further, the AJAX Request Handler
is now using the "route" parameter the same way.

This way, the RouteDispatcher does not have to distinguish between the BE
calls anymore, and the Form Protections are streamlined.

Resolves: #81899
Releases: master
Change-Id: I48bf2406eaff2316d3f0fe5dc631a51067a570f6
Reviewed-on: https://review.typo3.org/53459
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/backend/Classes/Http/AjaxRequestHandler.php
typo3/sysext/backend/Classes/Http/Application.php
typo3/sysext/backend/Classes/Http/RouteDispatcher.php
typo3/sysext/backend/Classes/Routing/UriBuilder.php
typo3/sysext/backend/Resources/Public/JavaScript/LegacyTree.js
typo3/sysext/backend/Tests/Unit/Routing/UriBuilderTest.php
typo3/sysext/core/Documentation/Changelog/master/Important-81899-BackendAJAXRoutesUseRouteajaxInsteadOfAjaxIdParameter.rst [new file with mode: 0644]