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

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

brodybits commented on issue #149: CB-8497 Fix handling of file paths with # 
character
URL: 
https://github.com/apache/cordova-plugin-file/pull/149#issuecomment-421369231
 
 
   > What about the file containing % character? it is giving me an Encoding 
error on iOS
   
   I suggest you file a new issue with this information, along with a simple 
but complete reproduction program. Bonus if you add a test case to tests, 
bigger bonus if you submit a bug fix.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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: cordova-plugin-file
>         Environment: iOS 8.1.3 and Android 5.0
>            Reporter: Dani Palou
>            Assignee: Jason Ginchereau
>            Priority: Major
>              Labels: Triaged
>
> 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
(v7.6.3#76005)

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

Reply via email to