You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/04 06:55:05 UTC

[jira] [Commented] (CB-8092) File plugin on windows doesn't encode URIs when using toUrl() method

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

ASF GitHub Bot commented on CB-8092:
------------------------------------

Github user ferryfax commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/94#issuecomment-77101334
  
    Don't know if this is the right place to comment on this but when I tried to use the latest File plugin  I was getting an exception because the validName check in resolveLocalFileSystemURI was failing. The path returned from pathFromURL(uri) had a \ in it so I needed to clean it up first with nativePathToCordova.


> File plugin on windows doesn't encode URIs when using toUrl() method
> --------------------------------------------------------------------
>
>                 Key: CB-8092
>                 URL: https://issues.apache.org/jira/browse/CB-8092
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>            Reporter: Vladimir Kotikov
>              Labels: plugin-file, windows
>
> This can be reprod by file.spec.52
> {{Entry.toURL on directory: entryFile.toURL() return URL with “\\\” slashes and non-encoded spaces in folder’s names}}
> This issue consists of 2 parts. First, windows is missing {{filesystem.__format__()}} method which is common place to handle URI encoding. Second, methods in FileProxy for windows can't handle encoded URIs



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org