You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/07/27 19:47:33 UTC
[jira] [Created] (CB-1151) FileTransfer.download decodes the URL,
resulting in a 404 error
Shazron Abdullah created CB-1151:
------------------------------------
Summary: 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: Joe Bowser
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
[jira] [Resolved] (CB-1151) FileTransfer.download decodes the URL,
resulting in a 404 error
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Assigned] (CB-1151) FileTransfer.download decodes the URL,
resulting in a 404 error
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ 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