Skip to content

fix(settings): reject malformed retention JSON - #242

Merged
ralyodio merged 2 commits into
profullstack:masterfrom
rissrice2105-agent:fix/qryptchat-fifth-audit
Aug 13, 2026
Merged

fix(settings): reject malformed retention JSON#242
ralyodio merged 2 commits into
profullstack:masterfrom
rissrice2105-agent:fix/qryptchat-fifth-audit

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Summary

  • return a specific 400 response when disappearing-message settings contain malformed JSON
  • prevent invalid request bodies from reaching database updates
  • add a regression test that reproduces the previous 500 response

Validation

  • focused Vitest: 7 passed
  • full Vitest suite: 81 files, 483 tests passed
  • focused ESLint: passed
  • git diff --check: passed

Closes #241

@ralyodio
ralyodio merged commit 69496f6 into profullstack:master Aug 13, 2026
10 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.

Malformed disappearing-message settings JSON returns 500

2 participants