-
Notifications
You must be signed in to change notification settings - Fork 56
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
Do not add scheme for empty or anchor links #66
Conversation
JoryHogeveen
commented
Jan 17, 2022
•
edited
Loading
edited
Questions | Answers |
---|---|
Description? | Fixes issue with empty links. |
Type? | bug fix |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | Fixes PrestaShop/PrestaShop#27399 |
How to test? | Create an image slider containing images without URL. Currently the links open a blank page with error. This PR fixes that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little question to be sure :)
One more approve and I think we can merge :) |
In this file:
There's no check if the URL exists or not. I think the point of this PR is to prevent having unused There's no |
Hi @kpodemski It definitely is somewhat related and on my client's installation I did remove it if there is only an anchor link. |
Hello @JoryHogeveen , Is there an issue related to this PR ? Thanks! |
@florine2623 |
Hello @JoryHogeveen , You can add the issue on the PrestaShop repository : https://github.com/PrestaShop/PrestaShop/issues |
Done: #27399 |
Such installation issues are unrelated to this PR. In any case, as you can see in the PR, it merely adds 3 lines of code in a method. Maybe one of the PS core dev's can help you here. |
This PR is ready to test. |
Hello @JoryHogeveen , Thanks for the PR! |
Thanks @JoryHogeveen & @florine2623 |