fix(ui): fix regex bug in agent creation name sanitization replacing Korean chars v2.80.5
This commit is contained in:
@@ -1741,7 +1741,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
|
||||
});
|
||||
if (!name) return;
|
||||
|
||||
const safeName = name.trim().replace(/[^a-zA-Z0-9_\\-\\u3131-\\uD79D]/g, '_');
|
||||
const safeName = name.trim().replace(/[^a-zA-Z0-9_\-\u3131-\uD79D가-힣]/g, '_');
|
||||
if (!safeName) return;
|
||||
|
||||
const dir = this._getAgentsDir();
|
||||
|
||||
Reference in New Issue
Block a user