From 813f523dc60e954256df3462eb23a5d66724709a Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 16 Feb 2026 11:21:29 +0800 Subject: [PATCH] :bug: Assets cannot be exported on Windows https://github.com/siyuan-note/siyuan/issues/17045 Signed-off-by: Daniel <845765@qq.com> --- kernel/util/path.go | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/util/path.go b/kernel/util/path.go index 7cf834497..73373c391 100644 --- a/kernel/util/path.go +++ b/kernel/util/path.go @@ -393,7 +393,6 @@ func IsSensitivePath(p string) bool { winPrefixes := []string{ `c:\windows\system32`, `c:\windows\system`, - `c:\users\`, } for _, wp := range winPrefixes { if strings.HasPrefix(pp, strings.ToLower(wp)) {