[web2py] Re: routes_in: escape question mark

2018-02-16 Thread nethugolol
Thanks Anthony, I'll try with one of those workarounds. El viernes, 16 de febrero de 2018, 13:21:14 (UTC-3), Anthony escribió: > > Unfortunately, the rewrite system does not match on the query string. Some > options are: > >- Use your web server to do the rewrite. >- Implement WSGI

[web2py] Re: routes_in: escape question mark

2018-02-16 Thread Anthony
Unfortunately, the rewrite system does not match on the query string. Some options are: - Use your web server to do the rewrite. - Implement WSGI middleware to do the rewrite (or at least rewrite the legacy URLs in a way that the web2py rewrite system can then match them, such as

[web2py] Re: routes_in: escape question mark

2018-02-16 Thread nethugolol
I think URL mapping occurs before. However I don't care about the lang value itself, just want to support a legacy URL. > > El jueves, 15 de febrero de 2018, 22:26:56 (UTC-3), Dave S escribió: > > > > On Thursday, February 15, 2018 at 4:05:32 PM UTC-8, nethu...@gmail.com > wrote: >> >> Hello

[web2py] Re: routes_in: escape question mark

2018-02-15 Thread Dave S
On Thursday, February 15, 2018 at 4:05:32 PM UTC-8, nethu...@gmail.com wrote: > > Hello community. I need to support some legacy URLs in a web2py > application. I am able to do this using routes_in and routes_out, but it > fails when the URL contains a question mark: > > routes_in = [ >