You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/09 16:01:28 UTC

[GitHub] [cordova-plugin-file-transfer] johnjackson commented on issue #244: iOS: Upload encounters "Invalid URL server" with DATA_URL destinationType

johnjackson commented on issue #244:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/244#issuecomment-641155736


   the second parameter of upload should use encodeURI(), for example:
   `      
   fileTransferObj.upload(fileObj.file_path, encodeURI(uploadURL), options).then((res) => {
           observer.next(res);
   }, (err) => {
           this.toast.showToast(err, 2000);
   }).catch((e) => {});
   `


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org