From a7152b591d2d0eeaa34c57a5dbf5042abf2d7466 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 6 Sep 2025 17:39:39 +0300 Subject: [PATCH] working.. --- core/views/uploads.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/views/uploads.py b/core/views/uploads.py index c43a38e38..4fa98a3ae 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -572,9 +572,11 @@ def gpxupload(request, folder=None): @login_required_if_public def gpxfix(request): """Upload a GPX file containing a single track which is actually a single static point: for averaging + + """ def gpxvalid(name): - if Path(name).suffix.lower() in [".xml", ".gpx"]: + if Path(name).suffix.lower() in [".gpx"]: return True # dangerous, we should check the actual file binary signature return False