Re: [web2py] Re: converting URL to lowercase before dispatching

2013-02-01 Thread Massimo Di Pierro
> You could also edit request.controller, request.function, and request.args > (if appropriate) in your model, if you're not using controller-specific > models at least. > > I could see adding a case-normalizing option to the parametric router. > +1 -- --- You received this message becaus

Re: [web2py] Re: converting URL to lowercase before dispatching

2013-02-01 Thread Jonathan Lundell
On 1 Feb 2013, at 9:13 AM, Massimo Di Pierro wrote: > I think you can do > > routes_in = [('/((?i)my_data/?$anything','/my_data/$anything')] > > (?i) is a directive that tells the regular expression parser to ignore the > case > > On Thursday, 31 January 2013 09:27:48 UTC-6, olly@sirocos.c

[web2py] Re: converting URL to lowercase before dispatching

2013-02-01 Thread Massimo Di Pierro
I think you can do routes_in = [('/((?i)my_data/?$anything','/my_data/$anything')] (?i) is a directive that tells the regular expression parser to ignore the case On Thursday, 31 January 2013 09:27:48 UTC-6, olly@sirocos.com wrote: > > I have a web2py application say, at "http://127.0.0.1:8