Skip to content
Commit daf0b2d5 authored by Benni Mack's avatar Benni Mack Committed by Benjamin Franzke
Browse files

[FEATURE] Restrict Backend Routes to specified HTTP methods

Because TYPO3 Backend is based on the symfony/routing
components, it is now possible to also limit a route to only
e.g. a POST request by defining allowed methods in the
route registration.

This allows for more secure route behaviour, e.g. routes
that update the system, should semantically using POST requests.

Similarly this way, future non-HTML-routes in the TYPO3 Backend
could be set up (e.g. for REST APIs), utilizing the BE routing
directly.

For the time being, the password-forgot form
is now only allowed for POST methods, effectively
hardening this feature.

Resolves: #93455
Releases: master
Change-Id: I1c89f592ce17dfcd8a7e7674945c97c7c39969ba
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67655


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent 8cbd504f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment