Redirecting to random asset
Closed this issue · 1 comments
MadMikeyB commented
Hello,
This seems to be redirecting to a random asset rather than a page?
So for example, I load the homepage which loads in images.
I log in, which uses redirect()->toSavedUrl()
and it redirects me to the last asset loaded on the page.
Is there a way I can exclude images from being saved?
Thanks
MadMikeyB commented
I think this could be solved by adding a check for any static filetypes here:
save-url/src/SaveUrlMiddleware.php
Line 71 in 26ba8a5
And not saving them?
Seems to be a bug in the system.
Thanks for the package though, great work, 👍