Relative path in URL is not properly encoded when redirecting

Created on 24 April 2020, over 4 years ago
Updated 1 September 2023, over 1 year ago

There is an issue in ProxySubscriber event subscriber with building a redirect URL. The $relative_path is not properly encoded when the URL is being built and this can cause issues when there are special characters included in the relative path (ex. <img src="/sites/default/files/styles/small_xs/public/2019-03/Header-F%2BB_microkontrast_03_web.jpg" alt="Hanยฎ F+B" typeof="foaf:Image" title="Hanยฎ F+B">). The solution is to URL encode the $relative_path before building the redirect URL.

๐Ÿ› Bug report
Status

Postponed: needs info

Version

2.1

Component

Code

Created by

๐Ÿ‡ธ๐Ÿ‡ฎSlovenia uros.ceh

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