Handle path without language prefix and support aliases

Created on 19 May 2022, over 2 years ago
Updated 4 September 2024, 4 months 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 work

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