url-param ?v disables index.html

This commit is contained in:
ed
2023-03-16 20:52:43 +00:00
parent 1fe0d4693e
commit 8a09601be8
2 changed files with 7 additions and 2 deletions

View File

@@ -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: