Yes, in my application comma creates "invalid request' error too. I had to write a special javascript routine to ensure that there is no commas in requests (they are produced by flot library when you drag an area in the chart). I recommend to use /geocoder/index/london/ontario and retrieve values as request.args[:]
On Aug 31, 6:20 am, Derek <cunningh...@gmail.com> wrote: > Hi, > > I'm doing some geocoding. I have a geocoder.py file with an index > function. > > A url like: > > /geocoder/index/london > > uses the value 'london' (stored in request.args[0]) just fine. But if > I add a comma, as in: > > /geocoder/index/london,_ontario > > I get an "Invalid request" error. It's not even a web2py ticket. > > Any thoughts? > > Thanks, > > Derek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---