Videos with spaces in file name double encoded.

Created on 21 February 2019, over 5 years ago
Updated 7 February 2024, 8 months ago

My code must have been way out of date or something, but when I applied the security update to 8.x-1.4 today, the commit from https://www.drupal.org/project/video/issues/2880589 β†’ broke video rendering for videos with spaces in the filename.

file_create_url and Url::toString are both independently encoding the URL so instead of File%20Name.mp4, I get File%2520Name.mp4.

I'm looking into an alternative way to handle this.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Mike Lewis

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