Re: [web2py] Query string lost when redirecting through routes.py

2015-02-25 Thread Louis Amon
That’s odd. I put exactly the rule you proposed but the URL (http://localhost:8000/annonces?lat=48.8610181&lng=2.3140934&locality=Paris) ended up not being matched at all. Log statement: routes_in: [127.0.0.1:http://localhost:get /annonces] -> /annonces (not rewritten) > Le 25 févr. 2015 à 13

[web2py] Query string lost when redirecting through routes.py

2015-02-25 Thread Louis Amon
Hello, I'm trying to map this URL : localhost:8000/annonces?lat=48.8610181&lng=2.3140934&locality=Paris To this : localhost:8000/s/paris (Full-text search hurrayyy) I'm using the pattern-based routes.py to do that : routes_in =[... ('/annonces', '301->/s'), ] But when I try to r