Preserve query parameters and fragments when directly inputting a path.

Created on 16 July 2021, over 3 years ago
Updated 9 May 2024, 5 months ago

Problem/Motivation

When searching on e.g. a node path or the frontpage (/), query parameters and fragments are stripped from the URL in the suggested paths.

Proposed resolution

When the user is entering an URL with query parameters or fragments, add them to the suggested path.

Steps to reproduce

  1. Enter a path to a node with query parameter or a fragment e.g. /node/1?test=1
  2. Linkit will show the entered node as a suggestion.
  3. Click on the suggestion. The query parameters are now removed from the field.
✨ Feature request
Status

RTBC

Version

7.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium JeroenT πŸ‡§πŸ‡ͺ

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