From a8ca1b79f3d0ac866370ae9fa985ac30f11b0408 Mon Sep 17 00:00:00 2001 From: Pedro Farias Date: Mon, 19 Jan 2026 02:26:55 -0300 Subject: [PATCH] fix: escape ampersands in OAuth URL on Windows --- src/cli/accounts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/accounts.js b/src/cli/accounts.js index c83d43e..bb283f8 100644 --- a/src/cli/accounts.js +++ b/src/cli/accounts.js @@ -95,7 +95,7 @@ function openBrowser(url) { args = [url]; } else if (platform === 'win32') { command = 'cmd'; - args = ['/c', 'start', '', url]; + args = ['/c', 'start', '', url.replace(/&/g, '^&')]; } else { command = 'xdg-open'; args = [url];