From 31194fb57a5b92e7155219d7ec7273028fcb2e83 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 28 Feb 2026 10:31:09 +0100 Subject: [PATCH] fix: correctly clean path --- http/public.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/public.go b/http/public.go index 6dcdaff1..596a03c9 100644 --- a/http/public.go +++ b/http/public.go @@ -56,7 +56,7 @@ var withHashFile = func(fn handleFunc) handleFunc { filePath := "" if file.IsDir { - basePath = filepath.Dir(basePath) + basePath = filepath.Clean(link.Path) filePath = ifPath }