You found a bug. Fixing it in trunk. Please check it again. Thanks. On Monday, 23 June 2014 10:14:57 UTC-5, Wei Wang wrote: > > 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.