Skip to content

fix(conversations): validate chat participant ids - #220

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/chat-conversation-participant-string-guard
Aug 1, 2026
Merged

fix(conversations): validate chat participant ids#220
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/chat-conversation-participant-string-guard

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • trim participant IDs before duplicate checks and inserts
  • reject null, non-string, and blank participant IDs with a 400 response
  • add focused regression coverage for malformed participant arrays

Verification

  • node node_modules\vitest\vitest.mjs run --config %TEMP%\qryptchat-vitest-minimal.config.mjs src/app/api/chat/conversations/route.test.js
  • git diff --check

This is a focused hardening fix for the accepted uGig QryptChat testing gig.

@ralyodio
ralyodio merged commit 96a57e2 into profullstack:master Aug 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants