Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Regression from fix: https://issues.apache.org/jira/browse/CB-978
Commit: https://github.com/apache/incubator-cordova-android/commit/87b81e53f00dcd93ebdbdf2f4bdb0c6d950f4f1a
Thread: https://groups.google.com/forum/?fromgroups#!topic/phonegap/yTql4sTe__M
The url passed into FileTransfer.download is decoded, which results in a 404 error. The user is expected to encode this themselves before passing it in the download function (as specified in the docs).
Expected:
For a FileTransfer.download, the URL should not be decoded. An encoded url passed in, should be able to be navigated to.
Actual:
For a FileTransfer.download, the URL is decoded, resulting in a 404 not found error.