\Drupal\decoupled_router\EventSubscriber\RouterPathTranslatorSubscriber should preserve query string and fragment

Created on 4 September 2025, 13 days ago

Problem/Motivation

I have a site with node 1 with the alias node_alias...

If I make a request for a path like node/1?foo=bar#frag the resolved URL will be /node_alias without the fragment and query string.

Steps to reproduce

See above

Proposed resolution

The resolved URL should maintain the query string and fragment.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

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

Comments & Activities

Production build 0.71.5 2024