RE: [web2py] Re: Potential site trust abuse with default web2py setting?

2010-12-07 Thread Josh Jaques
site trust abuse with default web2py setting? I think this can to be default (security matters), but needs to be configurable. def avoid_external_next(): if request.controller=='default' and request.function=='user': if request.vars._next and request.vars._next.startswith('http

Re: [web2py] Re: Potential site trust abuse with default web2py setting?

2010-11-23 Thread Bruno Rocha
I think this can to be default (security matters), but needs to be configurable. def avoid_external_next(): if request.controller=='default' and request.function=='user': if request.vars._next and request.vars._next.startswith('http'): del request.vars._next at the models

Re: [web2py] Re: Potential site trust abuse with default web2py setting?

2010-11-23 Thread Phyo Arkar
No it will break other stuff too , which already use redirection inplace. Just Let developer know that doing so will cause minor trust issue , and there is way to prevent it. On Wed, Nov 24, 2010 at 1:40 AM, mdipierro mdipie...@cs.depaul.edu wrote: checked the code and I do not see any