mirror of
https://github.com/AlistGo/alist.git
synced 2025-05-30 21:05:49 +08:00
🐛 fix webdav can't get file with password
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user