未验证 提交 68e00d77 编写于 作者: A Andre Weinand 提交者: GitHub

Merge pull request #82704 from sksaifuddin/fix/78014/Fix-Special-Character

Fix #78014 Added Capability to escape |, < and >in addition to & and ^
......@@ -148,7 +148,7 @@ export function prepareCommand(args: DebugProtocol.RunInTerminalRequestArguments
if (value === null) {
command += `set "${key}=" && `;
} else {
value = value.replace(/[\^\&]/g, s => `^${s}`);
value = value.replace(/[\^\&\|\<\>]/g, s => `^${s}`);
command += `set "${key}=${value}" && `;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册