From 4cc8ae681fb8378970aaaea4eac3c8e03b3ea9d3 Mon Sep 17 00:00:00 2001 From: Paul Tax Date: Wed, 18 Jan 2012 13:40:25 +0100 Subject: Correctly encode slashes and spaces --- awsauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'awsauth.py') diff --git a/awsauth.py b/awsauth.py index 29c2fdb..d2cf7ef 100644 --- a/awsauth.py +++ b/awsauth.py @@ -93,7 +93,7 @@ class S3Auth(AuthBase): buf += '/%s' % bucket # add the objectkey. even if it doesn't exist, add the slash - buf += '/%s' % urllib.quote_plus(objectkey) + buf += '/%s' % urllib.quote(objectkey) params_found = False -- cgit v1.2.1