mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server: fix problems with escaping
This commit is contained in:
@ -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 = {}
|
||||
|
Reference in New Issue
Block a user