You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Martin Gonzalez (JIRA)" <ji...@apache.org> on 2014/08/28 00:04:57 UTC

[jira] [Created] (CB-7418) [plugin-file] Add fullPath var to condition, avoiding undefined/ when null

Martin Gonzalez created CB-7418:
-----------------------------------

             Summary: [plugin-file] Add fullPath var to condition, avoiding undefined/ when null
                 Key: CB-7418
                 URL: https://issues.apache.org/jira/browse/CB-7418
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File
    Affects Versions: 3.5.0
            Reporter: Martin Gonzalez
            Assignee: Martin Gonzalez
             Fix For: 3.6.0


DirectoryEntry.js adds a trailing slash if it's missing, however, whether is null or not, it just checks that fullPath (!/\/$/), so in case of undefined it would convert an undefined object into a path as 'undefined/'.




--
This message was sent by Atlassian JIRA
(v6.2#6252)