Query parameters and anchor of substitution url are being stripped

Created on 7 January 2022, almost 3 years ago
Updated 5 October 2023, about 1 year ago

Problem/Motivation

If a substitution plugin returns an URL that contains query parameters and/or anchor, those parts are being stripped. This behavior was introduced in #2895153: Linkit filter should honour the URL query and fragment

Steps to reproduce

Proposed resolution

Merge the query parameters and/or anchor of the substitution url with the parameters and anchor of the href attribute, while giving precedence to the values of the substitution url; a substitution could for example contain a translated anchor.

Remaining tasks

User interface changes

API changes

None

Data model changes

None

🐛 Bug report
Status

Closed: duplicate

Version

5.0

Component

Code

Created by

🇳🇱Netherlands casey

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

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