🐛 file name contains +

This commit is contained in:
微凉
2021-11-07 22:12:52 +08:00
parent db7bff2d61
commit 9ed5b6e581

View File

@ -34,7 +34,7 @@ func Down(ctx *fiber.Ctx) error {
}
func Proxy(ctx *fiber.Ctx) error {
rawPath, err:= url.QueryUnescape(ctx.Params("*"))
rawPath, err:= url.PathUnescape(ctx.Params("*"))
if err != nil {
return ErrorResp(ctx,err,500)
}