Language prefix makes base url incomparable

Created on 13 November 2023, 11 months ago

If you have translations on your site that are accessed via a prefix e.g. mysite.com/de this will interfere with the strpos comparison. They should be removed before comparison.

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

achap 🇦🇺

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

Comments & Activities

  • Issue created by @achap
  • Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.2 & MySQL 8
    last update 11 months ago
    Waiting for branch to pass
  • @achap opened merge request.
  • Status changed to Needs review 11 months ago
  • achap 🇦🇺

    I think the module will still have issues with subdomain languages as it just removes the www during comparison but this should fix the language prefix issue.

Production build 0.71.5 2024