You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/07/27 21:55:34 UTC
[jira] [Assigned] (CB-1151) FileTransfer.download decodes the URL,
resulting in a 404 error
[ https://issues.apache.org/jira/browse/CB-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser reassigned CB-1151:
------------------------------
Assignee: Simon MacDonald (was: Joe Bowser)
> 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
>
> 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