mirror of
https://github.com/9001/copyparty.git
synced 2026-04-01 21:13:26 +10:00
v0.10.15
This commit is contained in:
@@ -1381,6 +1381,9 @@ class HttpCli(object):
|
||||
if is_ls:
|
||||
raise Pebkac(403)
|
||||
|
||||
if not os.path.isdir(fsenc(abspath)):
|
||||
raise Pebkac(404)
|
||||
|
||||
html = self.j2(tpl, **j2a)
|
||||
self.reply(html.encode("utf-8", "replace"))
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user