Skip to content

@ symbol in directory name causes it to become a FileEntry #290

Open
@gelks

Description

@gelks

When running the below code

  listDir(path){
    window.resolveLocalFileSystemURL(path,
      function (fileSystem) {
        var reader = fileSystem.createReader();
        reader.readEntries(
          function (entries) {
            console.log(entries);
          },
          function (err) {
            console.log(err);
          }
        );
      }, function (err) {
        console.log(err);
      }
    );
  }

Any folder names that contain an @ symbol become a file incorrectly

screen shot 2019-01-23 at 12 02 04 pm

Despite containing multiple files

screen shot 2019-01-23 at 12 02 32 pm 1

Any directories without an @ in their name are unaffected

screen shot 2019-01-23 at 12 03 50 pm

Any assistance would be greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions