You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/06 06:07:00 UTC

[jira] [Commented] (CB-10317) Cannot access entries of folder whose name begins with a hash symbol.

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

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

dhams commented on issue #172: CB-10317 Encoded # in uri parse
URL: https://github.com/apache/cordova-plugin-file/pull/172#issuecomment-342054999
 
 
   Any update? since its long time.

----------------------------------------------------------------
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:
users@infra.apache.org


> Cannot access entries of folder whose name begins with a hash symbol.
> ---------------------------------------------------------------------
>
>                 Key: CB-10317
>                 URL: https://issues.apache.org/jira/browse/CB-10317
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-file
>    Affects Versions: 3.0.0
>         Environment: cordova-plugin-file
> Android 5
> Sony Xperia z2
>            Reporter: Adam Thomas
>            Priority: Minor
>              Labels: android, triaged
>
> File Plugin [version 3.0.0]
> I am trying to access a folder which happens to begin with a hash/pound symbol, e.g. '#folder'.
> If you try to access this via resolveLocalFileSystemURL(), I am returned a DirectoryEntry which appears to have the correct path. However, calling createReader() and readEntries() on this returns the files/directories for the directory above (including #folder itself) and not those that are actually in #folder. Presumably, something is going on with the fact that in a URL, anything after a hash symbol is a fragment part. But if this is the case, how do I properly access the entries of this folder? I have tried encoding the symbol with '%23' or '\%23' to no positive affect.
> I have tested this on Android. Currently unknown if this happens on iOS or other platforms.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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