summaryrefslogtreecommitdiff
path: root/awsauth.py
diff options
context:
space:
mode:
authorPaul Tax <paultax@gmail.com>2012-01-18 13:40:25 +0100
committerPaul Tax <paultax@gmail.com>2012-01-18 13:40:25 +0100
commit4cc8ae681fb8378970aaaea4eac3c8e03b3ea9d3 (patch)
tree8521a82cfabfee044c952d5f2f92e7a7e6dc550c /awsauth.py
parentc03063e5555cce2c2ccf3ae7d26837a9773a99ef (diff)
downloadpython-requests-aws-4cc8ae681fb8378970aaaea4eac3c8e03b3ea9d3.tar.gz
Correctly encode slashes and spaces
Diffstat (limited to 'awsauth.py')
-rw-r--r--awsauth.py2
1 files changed, 1 insertions, 1 deletions
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