Review main Merged

67655[FEATURE] Restrict Backend Routes to specified HTTP methods

Benni Mack CR +2 V +2 Normal +218 −7 updated 02/08/21, 21:16

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 9