From a9a1cb264285223b8e3434f074a97586f33de94a Mon Sep 17 00:00:00 2001 From: Michael Suchacz <203725896+ibetitsmike@users.noreply.github.com> Date: Tue, 17 Jun 2025 17:48:02 +0000 Subject: [PATCH] bug: added escaping the cmd arguments for log-path --- src/remote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote.ts b/src/remote.ts index 8e5a5eab..4a13ae56 100644 --- a/src/remote.ts +++ b/src/remote.ts @@ -677,7 +677,7 @@ export class Remote { this.storage.writeToCoderOutputChannel( `SSH proxy diagnostics are being written to ${logDir}`, ); - return ` --log-dir ${escape(logDir)}`; + return ` --log-dir ${escapeCommandArg(logDir)}`; } // updateSSHConfig updates the SSH configuration with a wildcard that handles