Redirect URI has the language prefix in it (in D10)

Created on 24 August 2023, over 1 year ago

Problem/Motivation

Starting with D10, the redirect_uri parameter contains again the language prefix. This was introduced by this core change: https://www.drupal.org/project/drupal/issues/2883450 ๐Ÿ› Missing url prefix on language neutral content Fixed

Right now, even if you specify the LanguageInterface::LANGCODE_NOT_APPLICABLE as the language for a URL, the generated path will still contain the language prefix.

Steps to reproduce

Just install and use the module on a multilingual site.

Proposed resolution

Still to be defined, not sure right now how to generate a Drupal URL without the language prefix. One possible solution would be to use the path_processing => false in the options array instead of specifying the language none, but this might have other side effects, depending on each website.

๐Ÿ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

๐Ÿ‡ท๐Ÿ‡ดRomania vasi1186

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024