Skip to content
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

Auto switch between HTTP and HTML redirects #6

Open
jace opened this issue Aug 15, 2012 · 0 comments
Open

Auto switch between HTTP and HTML redirects #6

jace opened this issue Aug 15, 2012 · 0 comments

Comments

@jace
Copy link
Member

jace commented Aug 15, 2012

Flask-Lastuser recently switched from HTTP to HTML redirects (HTTP 301 to HTML Meta: Refresh) to ensure logout worked properly for Eventframe. This was needed because HTTP redirects pass through the original HTTP_REFERER header, which may be the event website, which Lastuser isn't aware of. However, HTML redirects render the interim page to the user, which is distracting.

Flask-Lastuser should examine the current HTTP Referrer header and make a call on which form of redirect to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant