[ 
https://issues.apache.org/jira/browse/CB-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon MacDonald resolved CB-1151.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
    
> FileTransfer.download decodes the URL, resulting in a 404 error
> ---------------------------------------------------------------
>
>                 Key: CB-1151
>                 URL: https://issues.apache.org/jira/browse/CB-1151
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>            Reporter: Shazron Abdullah
>            Assignee: Simon MacDonald
>             Fix For: 2.1.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to