[ 
https://issues.apache.org/jira/browse/CB-6012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898007#comment-13898007
 ] 

Ian Clelland commented on CB-6012:
----------------------------------

Also, the localfilesystem file systems should strip the query parameters when 
constructing file paths, and may not preserve them when returning new URLs. 
(Especially when traversing directories to find new files, there should be no 
expectation that query parameters are preserved.)

> Important query parameters shouldn't be dropped on cdvfile:// urls
> ------------------------------------------------------------------
>
>                 Key: CB-6012
>                 URL: https://issues.apache.org/jira/browse/CB-6012
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin File
>    Affects Versions: 3.4.0
>            Reporter: Ian Clelland
>            Assignee: Ian Clelland
>
> Mobile spec file test 10 checks that resolving a local url with query 
> parameters returns a file entry object without those parameters.
> On iOS, at least, those parameters may be useful for asset-library urls. They 
> shouldn't be dropped automatically on cdvfile:// urls, I think. The correct 
> behaviour would be to drop them on old-style file:/// urls, but not on any 
> urls which are explicitly managed by the File plugin.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to