mirror of
https://github.com/9001/copyparty.git
synced 2026-08-13 13:53:06 -06:00
fix GHSA-x5pq-m9p8-f4vx; no dk with fk
This commit is contained in:
parent
89040874f5
commit
e40755331b
|
|
@ -7204,7 +7204,7 @@ class HttpCli(object):
|
||||||
else:
|
else:
|
||||||
ls_names = exclude_dotfiles(ls_names)
|
ls_names = exclude_dotfiles(ls_names)
|
||||||
|
|
||||||
add_dk = vf.get("dk")
|
add_dk = not use_filekey and 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
|
||||||
if add_dk:
|
if add_dk:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue