Relative path in URL is not properly encoded when redirecting

Created on 24 April 2020, over 4 years ago
Updated 9 September 2024, 2 months 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

Needs work

Version

3.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