Issue Task Closed

#56345Add API to CSRF protect Ajax calls in Backend

Helmut Hummel 02/26/14, 15:34 updated 10/02/18, 12:02

Description

This change adds API to register Ajax ids with their handler
and to get an Ajax URL for a specific AjaxID

A token check is added to the ajax.php dispatcher
script. To stay backwards compatible, the token
is only checked, if the AjaxId is registered not
using the new API.

The new API will be used by TYPO3 core in
consecutive changes.

Reviews 1