Skip to content

Commit

Permalink
v0.10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Apr 24, 2021
1 parent 27a0351 commit c3e4d65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copyparty/__version__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# coding: utf-8

VERSION = (0, 10, 14)
VERSION = (0, 10, 15)
CODENAME = "zip it"
BUILD_DT = (2021, 4, 21)
BUILD_DT = (2021, 4, 24)

S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
Expand Down
3 changes: 3 additions & 0 deletions copyparty/httpcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,9 @@ def tx_browser(self):
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
Expand Down

0 comments on commit c3e4d65

Please sign in to comment.