mirror of
https://github.com/9001/copyparty.git
synced 2026-04-01 21:13:26 +10:00
url-param ?v disables index.html
This commit is contained in:
@@ -3570,7 +3570,11 @@ class HttpCli(object):
|
||||
files.append(item)
|
||||
item["rd"] = rem
|
||||
|
||||
if self.cookies.get("idxh") == "y":
|
||||
if (
|
||||
self.cookies.get("idxh") == "y"
|
||||
and "ls" not in self.uparam
|
||||
and "v" not in self.uparam
|
||||
):
|
||||
idx_html = set(["index.htm", "index.html"])
|
||||
for item in files:
|
||||
if item["name"] in idx_html:
|
||||
|
||||
Reference in New Issue
Block a user