Skip to content

Auto switch between HTTP and HTML redirects #6

jace opened this Issue Aug 15, 2012 · 0 comments

1 participant

HasGeek 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
Something went wrong with that request. Please try again.