Skip to content
Snippets Groups Projects
Commit 268bfed2 authored by Torben Hansen's avatar Torben Hansen Committed by Georg Ringer
Browse files

[FEATURE] Introduce ModifyRedirectUrlValidationResultEvent PSR-14 event

The frontend login extension currently validates a given redirect URL
by ensuring, that the URL is either relative or the host is known to
TYPO3. In some scenarios, it might however be useful to allow a
redirect URL, which does not match the existing rules.

This change adds the `ModifyRedirectUrlValidationResultEvent` PSR-14
event, allowing developers to implement custom validation logic for
the redirect URL.

Resolves: #103019
Releases: main
Change-Id: I81b387f23e90adbaf4a586c9108766275f5e1273
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82763


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 8ddc4b02
No related merge requests found
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