From 8d26807573be897e739c7f974e6f21dd9a8298db Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Sat, 11 Nov 2023 20:46:31 +0900 Subject: [PATCH] Correct upload dir path validation logic (#1338) * Correct upload and download dir path validation logic * Improve file download labels * Clean up tmp file before attempting to upload again --- python/web/src/templates/index.html | 4 ++-- python/web/src/templates/upload.html | 4 ++-- python/web/src/web.py | 21 ++++++++++++++++----- python/web/src/web_utils.py | 28 +++++++++------------------- 4 files changed, 29 insertions(+), 28 deletions(-) diff --git a/python/web/src/templates/index.html b/python/web/src/templates/index.html index d1baf4d7..01e4967b 100644 --- a/python/web/src/templates/index.html +++ b/python/web/src/templates/index.html @@ -395,8 +395,8 @@ + - - + - + - +