[TASK] Move Backend AJAX Calls to index.php 47/41247/4
authorBenjamin Mack <benni@typo3.org>
Tue, 14 Jul 2015 21:21:27 +0000 (23:21 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 15 Jul 2015 09:34:51 +0000 (11:34 +0200)
commitde6aa4267aed48fa5285f3077db2a798b66673e3
treee6c9fd2436b17c4848fc1cae6936a2a7341c4c57
parentbb809bcbff16dd79ee2887ab8d8bae4935b89db7
[TASK] Move Backend AJAX Calls to index.php

The typo3/ajax.php entrypoint is removed in favor of
checking for ajaxID in all backend requests inside the Backend
Application.

The request object from the server is now enhanced with the
information inside the application which type is now called.

In this course, the GeneralUtility::isInternalRequestType()
is extended to return ture if no request type constant is set
due to early calls to GeneralUtility methods when building the
ServerRequest object with a Uri object.

Resolves: #68141
Releases: master
Change-Id: I27f2e4fce2007981f323d0607c2dfb0b3a17d020
Reviewed-on: http://review.typo3.org/41247
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/ajax.php
typo3/index.php
typo3/sysext/backend/Classes/Http/AjaxRequestHandler.php
typo3/sysext/backend/Classes/Http/Application.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-68141-Typo3ajaxphp.rst [new file with mode: 0644]