server/rest: urldecode incoming paths

This commit is contained in:
rr- 2016-08-16 20:10:02 +02:00
parent 0c2efc0be5
commit 65119d69ab

View file

@ -30,7 +30,7 @@ def _get_headers(env):
def _create_context(env):
method = env['REQUEST_METHOD']
path = '/' + env['PATH_INFO'].lstrip('/')
path = urllib.parse.unquote('/' + env['PATH_INFO'].lstrip('/'))
headers = _get_headers(env)
files = {}