Only parse and mess with the URI in \Drupal\Core\Utility\UnroutedUrlAssembler::buildExternalUrl() if we have to

Created on 27 October 2025, 1 day ago

Problem/Motivation

In \Drupal\Core\Utility\UnroutedUrlAssembler::buildExternalUrl() we rebuild external URLs from their parts unnecessarily. PHP has lots of PHPism in the way it processes URLs but external systems don't all run PHP so we should not futz with external URLs unless we have to.

Steps to reproduce

See πŸ› Rewrite as URL adding equals sign to end of url. Needs work and πŸ› Url only outputs the last value of a query parameter Needs work

Proposed resolution

Take #3038774-31: Url only outputs the last value of a query parameter β†’ and implement it.

Remaining tasks

User interface changes

Introduced terminology

N/a

API changes

None

Data model changes

None

Release notes snippet

N/a

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Merge Requests

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