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

Fix: ps_imageslider - Images with invalid name are saved but not displaying correctly #112

Conversation

Codencode
Copy link
Contributor

Converted the file name using Tools::str2url()

Questions Answers
Description? I uploaded an image with a specific name "-30% blackweek.jpg" but it is not displayed correctly.
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/PrestaShop#37452
Sponsor company @Codencode
How to test? Uploading a file that contains the character: %

Converted the file name using `Tools::str2url()`
@boherm
Copy link
Member

boherm commented Dec 10, 2024

Thanks @Codencode!

@boherm boherm merged commit 48ff741 into PrestaShop:dev Dec 10, 2024
9 checks passed
@ps-jarvis
Copy link

PR merged, well done!

Message to @PrestaShop/committers: do not forget to milestone it before the merge.

@Progi1984 Progi1984 added this to the 3.2.2 milestone Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

ps_imageslider - Images with invalid name are saved but not displaying correctly
4 participants