ogham/exa

Missing files with weird (invalid?) encoding

tkukec opened this issue · 0 comments

tkukec commented

Using /sbin/exa doesn't show files after encountering a file with a weird name

  • The version of exa being used (exa --version)
$ exa --version
exa - list files on the command-line
v0.10.1 [+git]
https://the.exa.website/

$ pacman -Q exa
exa 0.10.1-7
  • The command-line arguments you are using
    None
  • Your operating system and hardware platform
    Arch Linux x86_64, kernel: 6.3.7-zen1-1-zen, Intel i5-9500F (6) @ 4.400GHz

Minimal repro:

$ touch a
$ touch b$'\302\237'
$ touch c
$ /sbin/exa
(no output)
$ /sbin/exa -1
a
$ /bin/ls
a  'b'$'\302\237'   c

Originally found in this zip file: https://www.ncvvo.hr/wp-content/uploads/2021/06/MATA21ljeto1.zip