[web2py] Some troubles with trailing slash

2011-02-02 Thread walter
When I do next in the action: def check(): if request.args(1) == None: table = request.args(0) return dict(table=table) And my url has a trailing slash after a function argument (i.e. applictation/controller/function/argument/) I catch an internal error everytime. I confused. Wha

Re: [web2py] Some troubles with trailing slash

2011-02-02 Thread Jonathan Lundell
On Feb 2, 2011, at 3:44 PM, walter wrote: > > When I do next in the action: > def check(): >if request.args(1) == None: >table = request.args(0) > >return dict(table=table) > > And my url has a trailing slash after a function argument (i.e. > applictation/controller/function/argu

Re: [web2py] Some troubles with trailing slash

2011-02-02 Thread Jonathan Lundell
On Feb 2, 2011, at 4:00 PM, Jonathan Lundell wrote: > > On Feb 2, 2011, at 3:44 PM, walter wrote: >> >> When I do next in the action: >> def check(): >> if request.args(1) == None: >> table = request.args(0) >> >> return dict(table=table) >> >> And my url has a trailing slash after a