Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0FF64200B91 for ; Thu, 29 Sep 2016 14:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0EB23160AE3; Thu, 29 Sep 2016 12:39:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7AECD160AD7 for ; Thu, 29 Sep 2016 14:39:21 +0200 (CEST) Received: (qmail 27867 invoked by uid 500); 29 Sep 2016 12:39:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 27847 invoked by uid 99); 29 Sep 2016 12:39:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2016 12:39:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 83CED2C2A62 for ; Thu, 29 Sep 2016 12:39:20 +0000 (UTC) Date: Thu, 29 Sep 2016 12:39:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11848) [Windows] File plugin, nativeUrl includes two slashes before filename MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Sep 2016 12:39:22 -0000 [ 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