Redirect loop from /login page
|Reported by:||sgifford@…||Owned by:||sgifford@…|
Our users like to use the "/login" page as their homepage, so they see a page asking them to log in instead of an error about not being logged in when they first connect to the system.
However, we found that when going to the login page directly and logging in successfully, Trac generates an endless loop of HTTP 302 Redirects.
I believe I can see the problem in web/auth.py, class LoginModule method _redirect_back. There after logging in we generate a redirect to the page we came from, but of course if we came from the login page we will redirect back to that.
Thanks, please let me know if more information is needed!
Change History (6)
comment:2 Changed 3 years ago by rblank
- Keywords patch added
- Milestone set to 0.12.2