Skip to content

Touch ups - #9

Merged
emanuelen5 merged 18 commits into
mainfrom
emaus/touch-ups
Nov 29, 2026
Merged

emanuelen5 merged 18 commits into
mainfrom
emaus/touch-ups

Conversation

@emanuelen5

Copy link
Copy Markdown
Contributor

No description provided.

@emanuelen5 emanuelen5 self-assigned this Nov 29, 2026
Comment thread packages/shared/src/content.ts Fixed
Comment thread src/frontend/e2e/auth.spec.ts Fixed
Plain text for search, and code blocks in Markdown exports, came from
XmlText.toString() with everything between < and > removed. toString() wraps
marks in tags without escaping the text, so this also removed what people typed,
such as "a < b and c > d" or HTML in a code block, and a link whose href
contains ">" leaked part of the href into the text.

CodeQL flagged the regex as incomplete HTML sanitization. Reading the deltas,
like textOf() already does, leaves nothing to sanitize.
CodeQL flags Math.random() as insecure randomness because one of the names
becomes a username. It only runs in tests, but this keeps the alert from coming
back.
@emanuelen5
emanuelen5 merged commit dcefa97 into main Nov 29, 2026
6 checks passed
@emanuelen5
emanuelen5 deleted the emaus/touch-ups branch November 29, 2026 16:55
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