fix(sandbox): support Windows drive-letter bind sources

Accept drive-absolute Windows sandbox Docker bind sources in config and runtime validation while keeping blocked-path and allowed-root comparisons case-insensitive for Windows drive paths.

Also remove a stale WhatsApp setup import that blocked extension lint after the rebase.

Co-authored-by: 6607changchun <84566142+6607changchun@users.noreply.github.com>
Co-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
This commit is contained in:
6607changchun
2026-05-05 12:39:56 +08:00
committed by GitHub
parent 35266879de
commit d02fbc6116
9 changed files with 167 additions and 25 deletions

View File

@@ -1,7 +1,6 @@
import path from "node:path";
import {
DEFAULT_ACCOUNT_ID,
normalizeE164,
pathExists,
splitSetupEntries,
type DmPolicy,