[
https://issues.apache.org/jira/browse/CB-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047769#comment-14047769
]
ASF GitHub Bot commented on CB-6571:
------------------------------------
GitHub user mbektchiev opened a pull request:
https://github.com/apache/cordova-plugin-file/pull/58
CB-6571 Fix getParentForLocalURL to work correctly with directories with
trailing '/'
Fixes 2 failing unit tests in mobile spec.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Icenium/cordova-plugin-file
bektchiev/fix-android-get-parent-with-trailing-slash
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file/pull/58.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #58
----
commit 6990df01c98fa146d5f0ca3d125c63b103411d5e
Author: Martin Bektchiev <[email protected]>
Date: 2014-06-30T15:21:08Z
CB-6571 Fix getParentForLocalURL to work correctly with directories with
trailing '/'
Fixes 2 failing unit tests in mobile spec.
----
> DirectoryEntry.toURL() has a trailing slash on iOS but not Android
> ------------------------------------------------------------------
>
> Key: CB-6571
> URL: https://issues.apache.org/jira/browse/CB-6571
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> We should be consistent with this and always have directories end with at /.
--
This message was sent by Atlassian JIRA
(v6.2#6252)