Skip to content

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

:art: 移动端支持多工作空间 Fix https://github.com/siyuan-note/siyuan/issues/4642

Liang Ding0fb04830db18
diff --git a/kernel/api/workspace.go b/kernel/api/workspace.go
index 6a416b0436..6d281866df 100644
--- a/kernel/api/workspace.go
+++ b/kernel/api/workspace.go
@@ -227,6 +227,9 @@ func isInvalidWorkspacePath(absPath string) bool {
if "" == name {
return true
}
+ if strings.HasPrefix(name, ".") {
+ return true
+ }
if !gulu.File.IsValidFilename(name) {
return true
}