diff --git a/pkg/filesystem/driver/upyun/handler.go b/pkg/filesystem/driver/upyun/handler.go index 796c10c..9b4fc19 100644 --- a/pkg/filesystem/driver/upyun/handler.go +++ b/pkg/filesystem/driver/upyun/handler.go @@ -271,7 +271,7 @@ func (handler Driver) Source( return "", err } - fileKey, err := url.Parse(path) + fileKey, err := url.Parse(url.PathEscape(path)) if err != nil { return "", err }