data-url not respected when using back button and page redirects.
My pages redirect to a login page if they require authorization. I use the data-url attribute to show the correct url. It works fine here.
However, If after successful login the user pushes the back button, I do not let them see the login page again, but redirect them back to the home page. In this situation data-url fails and the home page shows the login url instead of the home page url.
Is this a bug? Any ideas how to fix this?