I am trying to pass a '.' and a '*' as parameters to a controller function.
controller: test.py def t(): arr = request.args return 'alert("%s");' % repr(arr) url: /myapp/test/t/1/2/3 alert: ['1', '2', '3'] With one dot in between 1 and 3 url: /myapp/test/t/1/./3 alert: ['1', '3'] With two dots in between 1 and 3 url: /myapp/test/t/1/../3 alert: ['3'] And why am I getting a 400 Bad Request on this one (note the * between 1 and 3)? url: /myapp/test/t/1/*/3 According to the post below, '.' and '*' appears to be in the set of URI valid characters. http://stackoverflow.com/questions/1547899/which-characters-make-a-url-invalid