If I remove items from the cart then update the cart the button labeled “Return to gallery” takes me to the Backlight login screen. This occurs across the board on all my websites. No idea how long it has been happening. Just discovered it. Here’s an example gallery: Sturgis Mustang Rally 2024 - Photophart.com
Thanks, Mark
Hi @markh, I can see that the URL for continuing is malformed. In particular it starts with https:__
, which is how the Cart JS sends the URL. Backlight is meant to convert this to https://
.
A fix for this was added to Cart 8.1.5, released in July. Can you visit the Backlight Modules page in your admin and see whether you’re running this version of the Cart?
Hi Ben, I am indeed running Cart 8.1.5.
Just to be sure, I reinstalled cart 8.1.5. Problem persists.
Hi @markh, I’m not sure why this is failing then. Would you be able to provide me with FTP access so that I can see where this is failing in the code? The best way to do so would be by sending a message by clicking on my profile name followed by ‘Message’.
Done
As you suggested, reinstall all from the backlight 5 modules fixed it.
Hi @markh, I’m glad that solved it. The vast majority of the code changes to handle https:__
were in the Cart (specifically for handling the URLs of individual items added to the cart). It was only the logic of the referrer that sits in the main Backlight code.
FYI, the conversion of https://
to https:__
and back again circumvents security filters that incorrectly interpret Backlight’s passing of URLs in requests as threats. This had been quite a widespread problem.
Ah yes, the complexification of simplification. Seems we’re forced to it.