Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: https://github.com/siyuan-note/siyuan/issues/17753

Danielaa5b19d3eb09
diff --git a/kernel/util/path.go b/kernel/util/path.go
index b81d534d43..eb729b4fa2 100644
--- a/kernel/util/path.go
+++ b/kernel/util/path.go
@@ -461,7 +461,7 @@ func IsSensitivePath(p string) bool {
// 工作空间/temp/ 目录(小写比较)
workspaceTempPrefix := strings.ToLower(filepath.Join(WorkspaceDir, "temp"))
- if !strings.HasSuffix(p, ".zip") && strings.HasPrefix(toCheckPathLower, workspaceTempPrefix) {
+ if !strings.HasSuffix(p, ".zip") /* 系统日志导出 */ && strings.HasPrefix(toCheckPathLower, workspaceTempPrefix) {
return true
}