cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11848) [Windows] File plugin, nativeUrl includes two slashes before filename
Date Thu, 29 Sep 2016 12:39:20 GMT

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

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

Github user matrosov-nikita commented on the issue:

    https://github.com/apache/cordova-plugin-file/pull/195
  
    @vladimir-kotikov, updated


> [Windows] File plugin, nativeUrl includes two slashes before filename
> ---------------------------------------------------------------------
>
>                 Key: CB-11848
>                 URL: https://issues.apache.org/jira/browse/CB-11848
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>            Reporter: Maarten Manders
>              Labels: windows
>
> The returned FileEntry object in the getFile function of a DirectoryEntry object contains
an incorrect nativeUrl that contains 2 slashes before the filename (ie. ms-appdata:///temp//myfile.file).
> This can seemingly be resolved by changing the following line in the getFile function
in FileProxy.js:
> var fspath = sanitize(dirpath +'/'+ path);
> to
> var fspath = sanitize(path);
> I am unsure if this causes any side-effects however.



--
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


Mime
View raw message