Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: avoid inlined regexp escape in conversation search (#9985)
Adam Eivy05a6a5bdec47
diff --git a/server/services/beeperConversations.js b/server/services/beeperConversations.jsindex 3a08155810..b32933ada6 100644--- a/server/services/beeperConversations.js+++ b/server/services/beeperConversations.js@@ -298,7 +298,7 @@ export async function listConversations({// escaped, so a query of `50%` finds "50%" rather than everything.const term = typeof search === 'string' ? search.trim() : '';if (term) {- params.push(`%${term.replace(/[\\%_]/g, '\\$&')}%`);+ params.push(`%${term.replace(/[\\%_]/g, (ch) => `\\${ch}`)}%`);where.push(`c.title ILIKE $${params.length}`);}