Skip to content

fix(messages): reject blank encrypted payloads - #212

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/send-message-encrypted-content-blank-guard
Jul 30, 2026
Merged

fix(messages): reject blank encrypted payloads#212
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/send-message-encrypted-content-blank-guard

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • reject blank encryptedContents values before send-message database work
  • prevent whitespace-only encrypted payloads from being base64-encoded into recipient copies
  • add regression coverage for blank encrypted content strings

Test

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

uGig billing

  • Expected invoice: 0.50 USD if accepted/merged
  • Counted as revenue now: no, pending review/payment

@ralyodio
ralyodio merged commit bf65747 into profullstack:master Jul 30, 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