In the current head branch in github (Version
2.9.5-trunk+timestamp.2014.06.19.17.16.40), it seems that the
/default/user/login form does not use the "_next" variable specified in the
URL.
For example,
The myapp/default/view is decorated with @auth.requires_login(), so when I
am not logged in, it triggers web2py's login form with this URL:
https://server-name:4443/myapp/default/user/login?_next=/myapp/default/view%3Fapp%3Dnextapp
However, the variable "_next" in the form is always:
<input type="hidden" value="/myapp/default/index" name="_next">
I would expect it to be:
<input type="hidden" value="/myapp/default/view?app=nextapp"
name="_next">
Is this a potential bug or is this an expected change?
Thanks,
--
Wei Wang
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.