URL formatter html-encodes ampersands in URLs

Created on 27 July 2021, over 3 years ago
Updated 15 June 2023, over 1 year ago

If a site uses any modules that add additional parameters to the the Image URL, then it will html encode any ampersands that should be present to signify those additional parameters, for example, the crop module adds an "h" parameter. This is similar to the issue seen in ๐Ÿ› Image links with multiple query parameters have ampersand encoded Fixed

Solution: In this case, Image URL Formatter uses a twig template, so I believe we will need to pass the variables through "|raw". I am not certain if this has any security implications though.

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States bburg Washington D.C.

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