Firefox should prevent websites redirect user to a unknown site when they use the back button.
Example : https://androidcommunity.com/samsung-internet-browser-gets-new-privacy-and-customization-features-20...
It can also set a redirect limit to prevent malicious websites keep redirect you to different sites.
Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.