cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Haupenthal (JIRA)" <>
Subject [jira] [Created] (CB-13849) getDirectory('') returns root path
Date Fri, 02 Feb 2018 01:06:00 GMT
Tobias Haupenthal created CB-13849:

             Summary: getDirectory('') returns root path
                 Key: CB-13849
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-file
    Affects Versions: cordova-android-7.0.0
         Environment: Android
            Reporter: Tobias Haupenthal

At the moment the command \{someDir}.getDirectory("") with a blank argument returns the root-path.
If someone works already on a subdirectory that behaviour might be a security flaw.

Better would be to return the current directory.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message