Review main Merged

77675[FEATURE] Introduce new PSR-14 BeforeRedirectMatchDomainEvent

Stefan Bürk CR +2 V +2 Hard +340 −23 updated 03/21/23, 01:42

Commit message

A new PSR-14 event `BeforeRedirectMatchDomainEvent` is introduced
to the RedirectService, allowing extension authors to implement a
custom redirect matching.

This can be used to implement custom logic to match the request
and determine a redirect. For example, dealing with `GET` request
params and changing the target based on the value of an parameter.

Therefore, special and rare use-cases can be implemented avoiding
complex all-scenario match logic in the core and keeping it to a
generic and overall cases in the core-implementation.

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 8