Merge pull request #57 from vills/fix_quoting
prevent double-quoting object name
This commit is contained in:
commit
2fd7908681
@ -852,7 +852,7 @@ class Swift3Middleware(object):
|
||||
|
||||
def get_controller(self, env, path):
|
||||
container, obj = split_path(path, 0, 2, True)
|
||||
d = dict(container_name=container, object_name=obj)
|
||||
d = dict(container_name=container, object_name=unquote(obj))
|
||||
|
||||
if 'QUERY_STRING' in env:
|
||||
args = dict(urlparse.parse_qsl(env['QUERY_STRING'], 1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user