Re: [web2py] routes_apps_raw=['myapp'] and associated problems

2011-01-01 Thread Jonathan Lundell
On Jan 1, 2011, at 11:33 AM, Arun K.Rajeevan wrote: > I'm doing following code now, and is working. > as you can see, no checking on arguments. > > Please show me how to do (or what to check) any checks on arguments. > > #--

Re: [web2py] routes_apps_raw=['myapp'] and associated problems

2011-01-01 Thread Arun K.Rajeevan
I'm doing following code now, and is working. as you can see, no checking on arguments. Please show me how to do (or what to check) any checks on arguments. #-- def user(): import gluon request.args = gluon.s

Re: [web2py] routes_apps_raw=['myapp'] and associated problems

2011-01-01 Thread Arun K.Rajeevan
On Saturday, January 1, 2011 1:36:06 PM UTC-5, Jonathan Lundell wrote: > > On Jan 1, 2011, at 10:12 AM, Arun K.Rajeevan wrote: > > See my earlier message on this subject. > > It works just fine. Thank you. I ain't that good on regex, so I'd like to know what '([\w@ -][=.]?)+$' this implies. I u

Re: [web2py] routes_apps_raw=['myapp'] and associated problems

2011-01-01 Thread Jonathan Lundell
On Jan 1, 2011, at 10:12 AM, Arun K.Rajeevan wrote: > I set, routes_apps_raw=['init'] > > and modified controllers to use request.raw_args > Now my controllers are working fine. > > But it caused two new problems :related to download and login > > 1) def download(): >return response.down

[web2py] routes_apps_raw=['myapp'] and associated problems

2011-01-01 Thread Arun K.Rajeevan
I set, routes_apps_raw=['init'] and modified controllers to use request.raw_args Now my controllers are working fine. But it caused two new problems :related to download and login *1)* def download(): return response.download(request,db) since above will not work when routes_apps_