-
Notifications
You must be signed in to change notification settings - Fork 395
Issue #6815: Consider access to path before using simplified display #4984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Related to: backdrop/backdrop-issues#6815 |
Hm... a second try, as this (sort of unrelated test) passes locally... |
Tugboat has finished building a preview for this pull request! Website: https://pr4984-fstkuaga15zha3aifs1rseht86sxejel.tugboatqa.com/ This preview will automatically expire on the 10th of March, 2025. |
29076b6
to
949430c
Compare
Triggering sandbox creation. Edit: didn't work. 🤷 If you have to, test locally. 😉 |
Thank you @indigoxela! Merged into 1.x for 1.30.0. |
The link module calls url() twice on the the same URL. If the site has local enabled and is setup to detect the language with URL prefixes, then it will add the prefix a second time to a path that already has the language prefix. For example, it will rewrite fr/node/16 to fr/fr/node/16. Having the locale module not add the prefix again if it's already there, fixes this.
The link module calls url() twice on the the same URL. If the site has local enabled and is setup to detect the language with URL prefixes, then it will add the prefix a second time to a path that already has the language prefix. For example, it will rewrite fr/node/16 to fr/fr/node/16. Having the locale module not add the prefix again if it's already there, fixes this.
Fixes backdrop/backdrop-issues#6815