From 48c189c05d116c6ce4565209efff71ec0a762ab6 Mon Sep 17 00:00:00 2001 From: li-guohao Date: Sun, 26 May 2024 08:13:41 +0800 Subject: [PATCH] fix: raw url issue. --- src/main/java/run/ikaros/plugin/alist/AListClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/run/ikaros/plugin/alist/AListClient.java b/src/main/java/run/ikaros/plugin/alist/AListClient.java index cbe1dd9..cd179cc 100644 --- a/src/main/java/run/ikaros/plugin/alist/AListClient.java +++ b/src/main/java/run/ikaros/plugin/alist/AListClient.java @@ -143,7 +143,7 @@ private Mono 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(