server: fix problems with escaping

This commit is contained in:
rr-
2017-01-21 00:12:28 +01:00
parent 1acceb941d
commit 6b42d787a7
3 changed files with 6 additions and 5 deletions

View File

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