server/rest: urldecode incoming paths
This commit is contained in:
parent
0c2efc0be5
commit
65119d69ab
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def _get_headers(env):
|
||||||
|
|
||||||
def _create_context(env):
|
def _create_context(env):
|
||||||
method = env['REQUEST_METHOD']
|
method = env['REQUEST_METHOD']
|
||||||
path = '/' + env['PATH_INFO'].lstrip('/')
|
path = urllib.parse.unquote('/' + env['PATH_INFO'].lstrip('/'))
|
||||||
headers = _get_headers(env)
|
headers = _get_headers(env)
|
||||||
|
|
||||||
files = {}
|
files = {}
|
||||||
|
|
Loading…
Reference in a new issue