[ https://issues.apache.org/jira/browse/CB-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14532093#comment-14532093 ]
ASF GitHub Bot commented on CB-8931: ------------------------------------ Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/76#issuecomment-99736100 LGTM and merged. Thanks @starquake > Path in download function plugin-file-transfer does not replace all slashes > --------------------------------------------------------------------------- > > Key: CB-8931 > URL: https://issues.apache.org/jira/browse/CB-8931 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Affects Versions: 1.0.0 > Environment: Windows 8.0 / 8.1 > Reporter: Jan Visser > > The following code only removes the first slash. It should replace all > slashes: > {code:javascript} > var nativeURI = storageFile.path.replace(appData.localFolder.path, > 'ms-appdata:///local') > .replace(appData.temporaryFolder.path, 'ms-appdata:///temp') > .replace('\\', '/'); > {code} > last line should read: > {code:javascript} > .replace(/\\/g, '/'); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org