Daniel
2026-03-18 08:59:00 +08:00
parent 7781e6d97b
commit 501571c2d2

View File

@@ -402,6 +402,9 @@ func IsSensitivePath(p string) bool {
"/lib",
"/srv",
"/tmp",
"/usr",
"/opt",
"/sbin",
}
for _, pre := range prefixes {
if strings.HasPrefix(toCheckPathLower, pre) {