An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve file:// address decoding https://github.com/siyuan-note/siyuan/issues/13908
Danield98d62dcc505
diff --git a/app/src/editor/util.ts b/app/src/editor/util.tsindex 60b4c0c72b..c68cef1d54 100644--- a/app/src/editor/util.ts+++ b/app/src/editor/util.ts@@ -697,7 +697,7 @@ export const openBy = (url: string, type: "folder" | "app") => {} else {address = url.replace("file://", "");}- address = address.replace(/%20/g, " ");+// 拖入文件名包含 `)` 、`(` 的文件以 `file://` 插入后链接解析错误 https://github.com/siyuan-note/siyuan/issues/5786address = address.replace(/\\\)/g, ")").replace(/\\\(/g, "(");if (type === "app") {