Configurable link field formatter wrongly converts special characters

Created on 12 April 2024, 2 months ago

Problem/Motivation

In the ConfigurableLink field formatter,
When the query string contains one of the following special characters: '&', '"', '\'', '<', '>', they get parsed incorrectly so the output of the query array will contain the textual representation of those characters ('&', '"', ''', '<', '>').

Steps to reproduce

1. Go to any place where the ConfigurableLink field formatter is used, where the target link contains any of the above characters.
2. Inspect the link - the target url will contain the textual representation of the special character(s) instead of the character itself

Proposed resolution

The only solution I saw was to manually search and replace the characters

πŸ› Bug report
Status

Active

Version

6.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium elangoens

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

Comments & Activities

Production build 0.69.0 2024