diff --git a/lib/client.js b/lib/client.js index ea2b3ed..3008dcb 100644 --- a/lib/client.js +++ b/lib/client.js @@ -854,7 +854,7 @@ Client.prototype.https = function(filename){ Client.prototype.signedUrl = function(filename, expiration, options){ var epoch = Math.floor(expiration.getTime()/1000) - , pathname = url.parse(filename).pathname + , pathname = url.parse(encodeSpecialCharacters(filename)).pathname , resource = '/' + this.bucket + ensureLeadingSlash(pathname); if (options && options.qs) {