Merge pull request #13024 from hasnain2808/file-uploader

fix: Decode uri before importing file via weblink
This commit is contained in:
mergify[bot] 2021-04-29 05:06:57 +00:00 committed by GitHub
commit 416fc39330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
});