Tobias Haupenthal created CB-13849:
--------------------------------------

             Summary: getDirectory('') returns root path
                 Key: CB-13849
                 URL: https://issues.apache.org/jira/browse/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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to