Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-02-16 11:21:29 +08:00
parent 7c2a2a24d2
commit 813f523dc6
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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)) {