[
https://issues.apache.org/jira/browse/CB-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036821#comment-14036821
]
Andrew Grieve commented on CB-6571:
-----------------------------------
Not sure if there's a spec or not. Interestingly, the root of the issue is that
NSURL appends / on iOS, and Uri on Android doesn't. Having the trailing slash
adds more information about the file:// URL, so I went with that.
I added a mobilespec test so that if other platforms differed from this it
would be pointed out by the autotests.
> 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)