File tree Expand file tree Collapse file tree
java/run/ikaros/plugin/alist Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33更新日志文档,版本顺序从新到旧,最新版本在最前(上)面。
44
5+ # 0.12.4
6+
7+ ## 修复
8+
9+ - 文件夹有加号时自动转没了
10+
511# 0.12.3
612
713## 优化
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const doPostImportPath = () => {
1717 }
1818 // basic64 编码
1919 console .debug (' original path value: ' , path .value );
20- var base64Path = Base64 .encode (path .value );
20+ const base64Path = Base64 .encode (path .value );
2121 console .debug (' basic64 path value: ' , base64Path );
2222 let config = {
2323 headers: {' Content-Type' : " application/json;charset=UTF-8" }
Original file line number Diff line number Diff line change 11group =run.ikaros.plugin.alist
22description =A ikaros plugin for alist.
3- version =0.12.3
3+ version =0.12.4
Original file line number Diff line number Diff line change @@ -56,9 +56,12 @@ Mono<ServerResponse> doImportFilesFromAList(ServerRequest request) {
5656 return request .bodyToMono (AListImportPostBody .class )
5757 .filter (Objects ::nonNull )
5858 .map (AListImportPostBody ::getPath )
59+ .doOnSuccess (s -> log .debug ("original path: {}" , s ))
5960 .map (path -> new String (Base64 .getDecoder ().decode (path ), StandardCharsets .UTF_8 ))
61+ .doOnSuccess (s -> log .debug ("base64 decoded path: {}" , s ))
62+ .map (path -> path .replace ("+" , "%2B" ))
6063 .map (path -> URLDecoder .decode (path , StandardCharsets .UTF_8 ))
61- .doOnSuccess (s -> log .debug ("path: {}" , s ))
64+ .doOnSuccess (s -> log .debug ("url decoded path: {}" , s ))
6265 .filter (StringUtils ::isNotBlank )
6366 .flatMap (this ::removeHttpPrefixIfExists )
6467 .doOnSuccess (s -> log .debug ("relative path: {}" , s ))
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: PluginAList
44# plugin entry class that extends BasePlugin
55clazz : run.ikaros.plugin.alist.AListPlugin
66# plugin 'version' is a valid semantic version string (see semver.org).
7- version : 0.12.3
7+ version : 0.12.4
88requires : " >=0.12.1"
99author :
1010 name : Ikaros OSS Team
You can’t perform that action at this time.
0 commit comments