From 75a983a96539b9c9d1c7b13ff97fc3babe4e2024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= Date: Wed, 19 Jan 2022 18:46:32 +0800 Subject: [PATCH] :bug: fix webdav can't get file with password --- server/webdav/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/webdav/file.go b/server/webdav/file.go index 5645f2e6..a9f273d5 100644 --- a/server/webdav/file.go +++ b/server/webdav/file.go @@ -110,7 +110,7 @@ func (fs *FileSystem) Link(r *http.Request, rawPath string) (string, error) { link = fmt.Sprintf("%s://%s/p%s", protocol, r.Host, rawPath) if conf.GetBool("check down link") { sign := utils.SignWithToken(utils.Base(rawPath), conf.Token) - link += "?sign" + sign + link += "?sign=" + sign } } else { link_, err := driver.Link(base.Args{Path: path_, IP: ClientIP(r)}, account)