Avoid double language prefix for admin page

Created on 21 September 2023, about 1 year ago

Problem/Motivation

Under some circumstances, redirect URI becomes https://client.ddev.site/en/en/admin/config/system/google-analytics-repo... , which leads to 404 afterwards.

Steps to reproduce

Visit /admin/config/system/google-analytics-reports-api using a language that has a prefix in the URL.

Proposed resolution

Refactor \GoogleAnalyticsReportsApiFeed::currentUrl

🐛 Bug report
Status

Needs review

Version

3.0

Component

User interface

Created by

🇭🇺Hungary aron novak Hungary, Budapest

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

Comments & Activities

Production build 0.71.5 2024