Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97304180BF for ; Tue, 10 Nov 2015 22:06:11 +0000 (UTC) Received: (qmail 58745 invoked by uid 500); 10 Nov 2015 22:06:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 58722 invoked by uid 500); 10 Nov 2015 22:06:11 -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 58601 invoked by uid 99); 10 Nov 2015 22:06:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 22:06:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2285F2C1F7D for ; Tue, 10 Nov 2015 22:06:11 +0000 (UTC) Date: Tue, 10 Nov 2015 22:06:11 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-8497) FileEntry.remove() and FileEntry.file() fail if the file has '#' in its name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14999426#comment-14999426 ] ASF GitHub Bot commented on CB-8497: ------------------------------------ GitHub user jasongin opened a pull request: https://github.com/apache/cordova-plugin-file/pull/147 CB-8497: Fix handling of file paths with # character You can merge this pull request into a Git repository by running: $ git pull https://github.com/jasongin/cordova-plugin-file CB8497 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-file/pull/147.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #147 ---- commit e139d55234bf2a750850583804ae09e0c7333205 Author: Jason Ginchereau Date: 2015-11-10T22:01:19Z CB-8497: Fix handling of file paths with # character ---- > FileEntry.remove() and FileEntry.file() fail if the file has '#' in its name > ---------------------------------------------------------------------------- > > Key: CB-8497 > URL: https://issues.apache.org/jira/browse/CB-8497 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Environment: iOS 8.1.3 and Android 5.0 > Reporter: Dani Palou > Assignee: Jason Ginchereau > > If I try to delete a file that has the character '#' in its name, the 'remove' function always fails, returning FileError.NOT_FOUND_ERR. If the file doesn't have the '#' character, the code works fine. This error is happening both in Android 5 and iOS 8.1.3. > The same happens for the 'file' function. > This is one of the FileEntries that I'm testing with: > {quote} > fullPath: "/tmp/test#.txt", > isDirectory: false, > isFIle: true, > name: "test#.txt", > nativeURL: "file:///storage/emulated/0/tmp/test%23.txt" > {quote} > I obtained this FileEntry using a DirectoryReader to read the contents of the parent folder. > I'm testing with PhoneGap CLI 4.2.0, FilePlugin 1.3.3, PhoneGap Android 3.6.4 and PhoneGap iOS 3.7.0. -- 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