fix #101 (show logues even if dotfiles are hidden)

This commit is contained in:
ed 2024-10-03 22:19:32 +02:00
parent 001afe00cb
commit 21be82ef8b

View file

@ -5165,14 +5165,14 @@ class HttpCli(object):
except: except:
pass pass
lnames = {x.lower(): x for x in ls_names}
# show dotfiles if permitted and requested # show dotfiles if permitted and requested
if not self.can_dot or ( if not self.can_dot or (
"dots" not in self.uparam and (is_ls or "dots" not in self.cookies) "dots" not in self.uparam and (is_ls or "dots" not in self.cookies)
): ):
ls_names = exclude_dotfiles(ls_names) ls_names = exclude_dotfiles(ls_names)
lnames = {x.lower(): x for x in ls_names}
add_dk = vf.get("dk") add_dk = vf.get("dk")
add_fk = vf.get("fk") add_fk = vf.get("fk")
fk_alg = 2 if "fka" in vf else 1 fk_alg = 2 if "fka" in vf else 1