Handle path without language prefix and support aliases

Created on 19 May 2022, about 2 years ago
Updated 13 June 2023, about 1 year ago

Problem/Motivation

Currently the event subscriber to skip redirect compares paths with language prefix against the include/exclude list. On websites with multiple languages it requires to add all the languages to the include/exclude list or set a wilcard prefix which could catch false positives.

Moreover only the system path is tested against while contributors may whish to test againsts aliases too.

Proposed resolution

We should should test the current path without prefix and the possible alias against the include/exclude list. With those two features added, the filtering would look like the request path condition (like on blocks configuration) which would uniformize the contributor experience.

✨ Feature request
Status

Needs review

Version

2.2

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland Aerzas

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.69.0 2024