Skip to content

Non-standard symbols in path #25

@geffy

Description

@geffy

Reproducible example (on *nix/MacOS):

mkdir test_dir
touch test_dir/good_file.txt
touch test_dir/bad_\\trash.txt
th
th> for f in paths.iterfiles('./test_dir') do
..> print(f)
..> end

Output: good_file.txt only.

ls works correctly:

ls test_dir
> bad_\trash.txt good_file.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions