fixes issues 195 and 192

This commit is contained in:
Abhinav Adduri 2017-07-13 12:53:15 -07:00
parent 52173bf6e7
commit b419a6025f
3 changed files with 7 additions and 7 deletions

View file

@ -131,7 +131,7 @@ class FileSender extends EventEmitter {
JSON.stringify({
aad: arrayToHex(hash),
id: fileId,
filename: file.name
filename: encodeURIComponent(file.name)
})
);
xhr.send(fd);