Skip to content

Commit

Permalink
Merge pull request #57 from vills/fix_quoting
Browse files Browse the repository at this point in the history
prevent double-quoting object name
  • Loading branch information
fujita committed Nov 19, 2013
2 parents c367e2f + f0e4408 commit 2fd7908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift3/middleware.py
Expand Up @@ -852,7 +852,7 @@ def __init__(self, app, conf, *args, **kwargs):

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))
Expand Down

0 comments on commit 2fd7908

Please sign in to comment.