From 01df64fce0dda31bc6ff938c2974e3cd3164cf30 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 3 Dec 2025 01:53:05 -0600 Subject: [PATCH] No useless escape --- src/hooks/useGenerateProjectInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useGenerateProjectInfo.ts b/src/hooks/useGenerateProjectInfo.ts index 6a12dd0b..4fc39d00 100644 --- a/src/hooks/useGenerateProjectInfo.ts +++ b/src/hooks/useGenerateProjectInfo.ts @@ -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 {