Fix uploading files with blank spaces in the filename (#1821)
This commit is contained in:
parent
71e16afbb4
commit
b102e99f43
1 changed files with 3 additions and 0 deletions
|
|
@ -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]);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue