diff --git a/server/handlers/archive.go b/server/handlers/archive.go index 765e900..f2e6643 100644 --- a/server/handlers/archive.go +++ b/server/handlers/archive.go @@ -195,7 +195,7 @@ func DownloadFile(w http.ResponseWriter, r *http.Request) { if strings.Contains(filepath.Dir(filename), root) { w.Header().Add( "Content-Disposition", - "inline; filename="+filepath.Base(filename), + "inline; filename=\""+filepath.Base(filename)+"\"", ) w.Header().Set( "Content-Type",