Fix uploading files with blank spaces in the filename (#1821)

This commit is contained in:
Elias Nahum 2018-06-25 11:45:07 -04:00 committed by Harrison Healey
parent 71e16afbb4
commit b102e99f43

View file

@ -166,6 +166,9 @@ export default class AttachmentButton extends PureComponent {
}
}
// Decode file uri to get the actual path
res.uri = decodeURIComponent(res.uri);
this.uploadFiles([res]);
});
}