Skip to content

Support filenames that end with + #159

@hyunbinseo

Description

@hyunbinseo

Filenames such as a+.txt are not served because of the following line.

else if (!opts.dotfiles && /(^\.|[\\+|\/+]\.)/.test(name)) return;

  1. Why are filenames with +. filtered out?
  2. There seems to be a duplicate + in the character-set.
- (^\.|[\\+|\/+]\.)
+ (^\.|[\\+|\/]\.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions