From b4ceba63e6b25ee65afd13a1d0677a2cea7f67e9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 7 Oct 2024 07:34:49 +1100 Subject: [PATCH] avoid path separators in hashed file path for upload fixes #63 --- dronecan_gui_tool/widgets/file_server.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dronecan_gui_tool/widgets/file_server.py b/dronecan_gui_tool/widgets/file_server.py index b44f362..441ed15 100644 --- a/dronecan_gui_tool/widgets/file_server.py +++ b/dronecan_gui_tool/widgets/file_server.py @@ -26,7 +26,10 @@ def FileServer_PathKey(path): return key used in file read request for a path. This is kept to 7 bytes to keep the read request in 2 frames ''' - return base64.b64encode(struct.pack("