use percent encoding on filenames
This commit is contained in:
parent
d6f066095b
commit
d8ec25b36d
3 changed files with 25 additions and 9 deletions
|
@ -669,7 +669,7 @@ func newRow(file files.File, workdir string) table.Row {
|
|||
size = humanize.Bytes(uint64(file.Filesize()))
|
||||
}
|
||||
return table.Row{
|
||||
dirs.UnEscape(file.Name()),
|
||||
dirs.PercentDecode(file.Name()),
|
||||
dirs.UnExpand(filepath.Dir(file.Path()), workdir),
|
||||
time,
|
||||
size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue