fix: decode uri before importing file via weblink

This commit is contained in:
hasnain2808 2021-04-28 18:40:31 +05:30
parent 0e015fdcb6
commit 9a8d1fb43f

View file

@ -318,7 +318,7 @@ export default {
frappe.msgprint(__('Invalid URL'));
return Promise.reject();
}
file_url = decodeURI(file_url)
return this.upload_file({
file_url
});