mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
fix #121 (GET toplevel files with h
)
This commit is contained in:
parent
9082c4702f
commit
1f5f42f216
|
@ -5482,7 +5482,7 @@ class HttpCli(object):
|
||||||
vrem = vjoin(vrem, fn)
|
vrem = vjoin(vrem, fn)
|
||||||
abspath = ap2
|
abspath = ap2
|
||||||
break
|
break
|
||||||
elif self.vpath.rsplit("/", 1)[1] in ("index.htm", "index.html"):
|
elif self.vpath.rsplit("/", 1)[-1] in ("index.htm", "index.html"):
|
||||||
fk_pass = True
|
fk_pass = True
|
||||||
|
|
||||||
if not is_dir and (self.can_read or self.can_get):
|
if not is_dir and (self.can_read or self.can_get):
|
||||||
|
|
Loading…
Reference in a new issue