Hello,

I had a look if that question already existed, didn't find the answer, I 
was wondering if it was possible to configure somewhere to translate %20 in 
URL to ' ' instead of '_'.

code example:

@request.restful()
def TestRest():
    response.view = 'generic.json'
        
    def GET(*args,**vars):
        return dict(args=args,vars=vars)
    
    return locals()

http://url/app/controler/TestRest/foo%20bar.json

returns:
{"args": ["foo_bar"], "vars": {}}

looking to have:
{"args": ["foo bar"], "vars": {}}

Thanks in advance.
Kilian.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to