We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b6b80a commit 50f348dCopy full SHA for 50f348d
lib/client.js
@@ -854,7 +854,7 @@ Client.prototype.https = function(filename){
854
855
Client.prototype.signedUrl = function(filename, expiration, options){
856
var epoch = Math.floor(expiration.getTime()/1000)
857
- , pathname = url.parse(filename).pathname
+ , pathname = url.parse(encodeSpecialCharacters(filename)).pathname
858
, resource = '/' + this.bucket + ensureLeadingSlash(pathname);
859
860
if (options && options.qs) {
0 commit comments