Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
francois kawala committed Nov 10, 2014
1 parent efae0ef commit ec9bf75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gcloud/storage/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit ec9bf75

Please sign in to comment.