mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 03:39:23 +00:00
remove colon from git host in askpass arguments (#117230)
fixes #117152
This commit is contained in:
@@ -30,7 +30,7 @@ function main(argv: string[]): void {
|
||||
|
||||
const output = process.env['VSCODE_GIT_ASKPASS_PIPE'] as string;
|
||||
const request = argv[2];
|
||||
const host = argv[4].replace(/^["']+|["']+$/g, '');
|
||||
const host = argv[4].replace(/^["']+|["':]+$/g, '');
|
||||
const ipcClient = new IPCClient('askpass');
|
||||
|
||||
ipcClient.call({ request, host }).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user