Skip to content

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

:art: Escape issue

Danielda369e391a55
diff --git a/kernel/model/file.go b/kernel/model/file.go
index 786eb3c0a8..8c7e7fac2d 100644
--- a/kernel/model/file.go
+++ b/kernel/model/file.go
@@ -1059,7 +1059,7 @@ func GetHPathsByPaths(paths []string) (hPaths []string, err error) {
}
hpath := html.UnescapeString(bt.HPath)
- hPaths = append(hPaths, util.EscapeHTML(box.Name)+hpath)
+ hPaths = append(hPaths, box.Name+hpath)
}
return
}