From 56718c09a14656b00a7784a4bb2a136798f92992 Mon Sep 17 00:00:00 2001 From: ParaN3xus <136563585+ParaN3xus@users.noreply.github.com> Date: Tue, 24 Nov 2026 06:03:49 +0800 Subject: [PATCH] fix(ssh): unescape backslashes when globbing Include paths on Windows (#11918) --- tabby-electron/src/sshImporters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabby-electron/src/sshImporters.ts b/tabby-electron/src/sshImporters.ts index 031b88f04..51c354617 100644 --- a/tabby-electron/src/sshImporters.ts +++ b/tabby-electron/src/sshImporters.ts @@ -140,7 +140,7 @@ async function parseSSHConfigFile ( continue } - const matches = glob.sync(resolveSSHIncludePath(directive.value)) + const matches = glob.sync(resolveSSHIncludePath(directive.value), { windowsPathsNoEscape: process.platform === 'win32' }) for (const match of matches) { const stat = await fs.stat(match) if (stat.isDirectory()) {