diff --git a/gcloud/storage/key.py b/gcloud/storage/key.py index 958f2f844d9f..c36d85561f8c 100644 --- a/gcloud/storage/key.py +++ b/gcloud/storage/key.py @@ -4,6 +4,7 @@ import mimetypes import os from StringIO import StringIO +from urllib import quote_plus from gcloud.storage._helpers import _PropertyMixin from gcloud.storage._helpers import _scalar_property @@ -117,7 +118,7 @@ def path(self): elif not self.name: raise ValueError('Cannot determine path without a key name.') - return self.bucket.path + '/o/' + self.name + return self.bucket.path + '/o/' + quote_plus(self.name) @property def public_url(self):