From 7092170a6de5f3ec0dfda6f945c3afe1f7a3cba3 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 14 Nov 2022 20:55:44 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=AF=BC=E5=87=BA=E4=B8=BA?= =?UTF-8?q?=E9=95=BF=E5=9B=BE=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/2919?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/api/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/api/export.go b/kernel/api/export.go index c92e13b19..7e516d43e 100644 --- a/kernel/api/export.go +++ b/kernel/api/export.go @@ -329,7 +329,7 @@ func exportAsFile(c *gin.Context) { return } - name := "export-file-" + file.Filename + name := "file-" + file.Filename name = util.FilterFileName(name) tmpDir := filepath.Join(util.TempDir, "export") if err = os.MkdirAll(tmpDir, 0755); nil != err {