feat: encode path of url (close #1351)
This commit is contained in:
@ -250,7 +250,7 @@ func FsGet(c *gin.Context) {
|
||||
} else {
|
||||
rawURL = fmt.Sprintf("%s/p%s?sign=%s",
|
||||
common.GetApiUrl(c.Request),
|
||||
utils.EncodePath(req.Path),
|
||||
utils.EncodePath(req.Path, true),
|
||||
sign.Sign(obj.GetName()))
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user