cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Haupenthal (JIRA)" <j...@apache.org>
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
                 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message