[ https://issues.apache.org/jira/browse/CB-13849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16668781#comment-16668781 ]
ASF GitHub Bot commented on CB-13849: ------------------------------------- janpio commented on issue #230: CB-13849: (android) getDirectory("") returns current path instead of / path URL: https://github.com/apache/cordova-plugin-file/pull/230#issuecomment-434321560 Yes, see https://github.com/apache/cordova-plugin-file/issues/257 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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 > Priority: Major > > 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