Image links with multiple query parameters have ampersand encoded in REST view

Created on 31 January 2023, almost 2 years ago
Updated 13 February 2023, almost 2 years ago

Problem/Motivation

Like it is described in https://www.drupal.org/project/rest_views/issues/3176391 🐛 Image links with multiple query parameters have ampersand encoded Fixed there are problems with multiple parameters when inside a url in rest view.

Steps to reproduce

Create an rest view of content with images. add a field with formatter "image_url" (Path to image / Pfadangabe zum Bild).
Use focal_image and set a focal point to one image. Use a image display style. Than in url there are two parameters "itok" and "h". The ampersand between the two parameters would be encoded as "\u0026amp;", so the resulting url is incorrect.

Proposed resolution

Use a patch like in other ticket for formatter inside rest_views.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany internetter Erfurt, Thüringen

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

Comments & Activities

Production build 0.71.5 2024