No useless escape

This commit is contained in:
Alex Gleason committed 2025-12-03 01:53:05 -06:00
1 parent 300fd26268
commit 01df64fce0
1 file changed
+1 -1
+1 -1
View File
@@ -178,7 +178,7 @@ You MUST call either start_project or start_chat based on the user's intent.`;
// Validate the chat name - allow most characters except filesystem-invalid ones
// Invalid characters: / \ : * ? " < > |
const invalidCharsRegex = /[\/\\:*?"<>|]/;
const invalidCharsRegex = /[/\\:*?"<>|]/;
if (chatName && chatName.length >= 2 && chatName.length <= 50 && !invalidCharsRegex.test(chatName)) {
return {