fix!: sign with the raw path instead of filename (#2258)
This commit is contained in:
@ -58,7 +58,7 @@ func Proxy(c *gin.Context) {
|
||||
URL := fmt.Sprintf("%s%s?sign=%s",
|
||||
strings.Split(downProxyUrl, "\n")[0],
|
||||
utils.EncodePath(rawPath, true),
|
||||
sign.Sign(filename))
|
||||
sign.Sign(rawPath))
|
||||
c.Redirect(302, URL)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user