Skip to content

fix(desktop): bound live TTS sanitization - #6408

Open
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/tts-sanitizer-20260820
Open

fix(desktop): bound live TTS sanitization#6408
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/tts-sanitizer-20260820

Conversation

@RossHartmann

Copy link
Copy Markdown

Summary

Move attachment/spoiler cleanup into a small linear scanner so adversarial delimiter runs cannot trigger pathological regular-expression backtracking during live TTS.

Behavior remains provider-neutral and preserves the existing spoken-message cleanup.

Validation

  • focused adversarial sanitizer test passes
  • DCO sign-off included

Signed-off-by: Ross Hartmann <1750494+RossHartmann@users.noreply.github.com>
@RossHartmann
RossHartmann requested a review from a team as a code owner August 20, 2026 16:46
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.

1 participant