8.x-1.x version of context_redirect

Created on 22 October 2018, over 6 years ago
Updated 2 May 2023, almost 2 years ago

I've done an initial pass at an 8.x port of context_redirect

Notable updates / additions:
* Added an option to use / add the destination to the redirect url
* Added an option to redirect without an access check.
* Removed logging of redirects as this seems like a duplicate of data available in request logs. If desired, making it optional would be preferred.
* RedirectResponse uses the CacheabilityMetadata of the context conditions for the response.
* The redirect is performed either at the KernelEvents::REQUEST or KernelEvents::RESPONSE depending on when context conditions are evaluated.

There are not yet any tests for functionality.

🌱 Plan
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States malcolm_p

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024