decodeURIComponent for uploaded file/image

v1.18.x
barisusakli 10 years ago
parent 60a70e4e62
commit 909fe660a9

@ -23,7 +23,7 @@ file.saveFileToLocal = function(filename, folder, tempPath, callback) {
is.on('end', function () {
callback(null, {
url: nconf.get('upload_url') + folder + '/' + filename
url: nconf.get('upload_url') + folder + '/' + encodeURIComponent(filename)
});
});

Loading…
Cancel
Save