diff --git a/services/storage.py b/services/storage.py index 571a1e7..4353f53 100644 --- a/services/storage.py +++ b/services/storage.py @@ -146,6 +146,7 @@ def _upload_with_rclone(url: str, file_path: str) -> bool: for src, dst in replace_list: new_url = new_url.replace(src, dst) new_url = new_url.split("?", 1)[0] # 移除查询参数 + new_url = unquote(new_url) # 解码 URL 编码的字符(如 %2F -> /) if new_url == url: return False