mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
fix #101 (show logues even if dotfiles are hidden)
This commit is contained in:
parent
001afe00cb
commit
21be82ef8b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue