An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://github.com/siyuan-note/siyuan/issues/17753
Daniel538829b68d63
diff --git a/kernel/util/path.go b/kernel/util/path.goindex f59db14421..b81d534d43 100644--- a/kernel/util/path.go+++ b/kernel/util/path.go@@ -459,8 +459,9 @@ func IsSensitivePath(p string) bool {return true}- // *.db/*.log- if strings.HasSuffix(p, ".db") || strings.HasSuffix(p, ".log") {+ // 工作空间/temp/ 目录(小写比较)+ workspaceTempPrefix := strings.ToLower(filepath.Join(WorkspaceDir, "temp"))+ if !strings.HasSuffix(p, ".zip") && strings.HasPrefix(toCheckPathLower, workspaceTempPrefix) {return true}