You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Christoph Christ (JIRA)" <ji...@apache.org> on 2015/10/23 09:21:27 UTC
[jira] [Created] (CB-9849) CDVFILE Bug
Christoph Christ created CB-9849:
------------------------------------
Summary: CDVFILE Bug
Key: CB-9849
URL: https://issues.apache.org/jira/browse/CB-9849
Project: Apache Cordova
Issue Type: Bug
Components: CordovaLib
Affects Versions: 3.5.0
Environment: ios, android
Reporter: Christoph Christ
CDVFILE has a bug:
If a page from a downloaded storage is called via cdvfile://localhost/persistent/myfile.html is calling another file without absolute path, it fails because the resulting filename is wrongly built of
cdvfile:////localhost/persistent/mysecondfile.html
How to reproduce: download with filetransfer another html fiile to the device's persistent storage containing a link to "mysecondfile.html" without a trailing path.
Download works, Calling cdvfile://localhost/persistent/myfile.html works. klicking on the link "mysecondfile.html" without trailing path fails - if I enter the absolute path with those 2 slashes in the form cdvfile://localhost/persistent/mysecondfile.html all is working flawlessly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org