From 7b2d70a3c93a4b3f174d60eddf1033619017aed4 Mon Sep 17 00:00:00 2001 From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com> Date: Wed, 9 Feb 2022 16:31:56 +0000 Subject: [PATCH] Fix last minute refactor fial. --- logserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logserver.go b/logserver.go index cd645f3..b35de40 100644 --- a/logserver.go +++ b/logserver.go @@ -149,7 +149,7 @@ func serveTarball(w http.ResponseWriter, r *http.Request, dir string) error { } // "disposition filename" dfilename := strings.Trim(r.URL.Path,"/") - dfilename = strings.Replace(dfile, "/","_",-1) + dfilename = strings.Replace(dfilename, "/","_",-1) // There is no application/tgz or similar; return a gzip file as best option. // This tends to trigger archive type tools, which will then use the filename to