mirror of
https://github.com/AlistGo/alist.git
synced 2025-09-15 12:58:42 +08:00
🐛 file name contains +
This commit is contained in:
parent
db7bff2d61
commit
9ed5b6e581
@ -34,7 +34,7 @@ func Down(ctx *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Proxy(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 {
|
if err != nil {
|
||||||
return ErrorResp(ctx,err,500)
|
return ErrorResp(ctx,err,500)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user