Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On-the-fly image manipulations issue with url encoding for special characters #3274

Closed
pyrobob83 opened this issue Apr 13, 2023 · 0 comments · Fixed by #3275
Closed

On-the-fly image manipulations issue with url encoding for special characters #3274

pyrobob83 opened this issue Apr 13, 2023 · 0 comments · Fixed by #3275

Comments

@pyrobob83
Copy link

pyrobob83 commented Apr 13, 2023

EE 7.2.11

I'm working on a legacy project, upgrading from EE2 > EE7, including adding on-the-fly image manipulations and I discovered that new or existing images that contain parentheses characters in the filenames generate on-the-fly resized images correctly, but the URLs to those resized images are converting the special characters incorrectly so the images are broken. The specific instance I discovered has an image named like filename_(8).jpg where the resized URL output gets changed to /_resize/filename_%25288%2529_resize_#hash#.jpg and it doesn't work. The encoded values for ( and ) are %28 and %29 so I don't know where those '25's are coming from. Manually updating the URL to /_resize/filename_(8)_resize_#hash#.jpg or even /_resize/filename_%288%29_resize_#hash#.jpg in the URL does load the resized image correctly.

I've not tested to see if this is an issue with other url-safe special characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant