[ https://issues.apache.org/jira/browse/CB-13849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634042#comment-16634042
]
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-425912496
Hey, I just fixed the problem that caused Android tests to fail in `master`. Could you
rebase this PR please? This should get rid of the Android failures and possibly fix all test
failures for this PR.
----------------------------------------------------------------
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:
users@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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
|