You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jason Ginchereau (JIRA)" <ji...@apache.org> on 2016/03/09 00:55:40 UTC

[jira] [Resolved] (CB-10577) Android plugin file: resolveLocalFileSystemURL produce incorrect value

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

Jason Ginchereau resolved CB-10577.
-----------------------------------
    Resolution: Fixed

> Android plugin file: resolveLocalFileSystemURL produce incorrect value
> ----------------------------------------------------------------------
>
>                 Key: CB-10577
>                 URL: https://issues.apache.org/jira/browse/CB-10577
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>            Reporter: vldmrrrr
>            Priority: Critical
>              Labels: android, triaged
>         Attachments: index.js
>
>
> On android resolveLocalFileSystemURL  sets isDirectory and isFile properties based on argument URL having trailing slash, and not on actual object type. See attached test program, which currently outputs the following:
>  cdvfile://localhost/temporary/tst is file
>  cdvfile://localhost/temporary/tst/ is directory
> Correct output shall be:
>  cdvfile://localhost/temporary/tst is directory
>  cdvfile://localhost/temporary/tst/ is directory



--
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