Skip to content

Commit

Permalink
fix: raw url issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
li-guohao committed May 26, 2024
1 parent 938973e commit 48c189c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/run/ikaros/plugin/alist/AListClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ private Mono<AListAttachment> saveAListAttachment(AListAttachment aListAttachmen
.updateTime(LocalDateTime.now())
.type(aListAttachment.getIs_dir() ? AttachmentType.Directory : AttachmentType.File)
.size(aListAttachment.getSize())
.url(URLDecoder.decode(aListAttachment.getRaw_url(), StandardCharsets.UTF_8))
.url(aListAttachment.getRaw_url())
.fsPath(getPathByPathArr(aListAttachment.getPaths()))
.build())
.flatMap(attachment -> attachmentOperate.findByTypeAndParentIdAndName(
Expand Down

0 comments on commit 48c189c

Please sign in to comment.