Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7418

[plugin-file] Add fullPath var to condition, avoiding 'undefined/' when fullPath=null

    XMLWordPrintableJSON

Details

    Description

      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/'.

      Attachments

        Activity

          People

            martin.c.glez.glez Martin Gonzalez
            martin.c.glez.glez Martin Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: