diff --git a/.travis.yml b/.travis.yml index 8e6abe8..99bef5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ language: go go: - 1.13.x -node_js: - - 12.16.3 +node_js: "12.16.3" git: depth: 1 install: diff --git a/assets b/assets index 54f4e60..1450cf1 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit 54f4e608bd4a91ef5ed81b2f8e5778f4bf8632c5 +Subproject commit 1450cf140b88e4c9a01197f5504cc3c95fecd748 diff --git a/pkg/conf/version.go b/pkg/conf/version.go index f4b5bf8..8c7ea1b 100644 --- a/pkg/conf/version.go +++ b/pkg/conf/version.go @@ -1,13 +1,13 @@ package conf // BackendVersion 当前后端版本号 -var BackendVersion = "3.1.0" +var BackendVersion = "3.1.1" // RequiredDBVersion 与当前版本匹配的数据库版本 var RequiredDBVersion = "3.1.0" // RequiredStaticVersion 与当前版本匹配的静态资源版本 -var RequiredStaticVersion = "3.1.0" +var RequiredStaticVersion = "3.1.1" // IsPro 是否为Pro版本 var IsPro = "false" 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 }