Skip to content

Add display name profanity filter#75

Closed
vicplusplus wants to merge 1 commit intomainfrom
claude/add-profanity-filter-F8qkf
Closed

Add display name profanity filter#75
vicplusplus wants to merge 1 commit intomainfrom
claude/add-profanity-filter-F8qkf

Conversation

@vicplusplus
Copy link
Copy Markdown
Owner

Route register and display-name-update flows through a new static
DisplayNameValidator that enforces trimmed length, rejects Unicode
control/format characters used for impersonation, and runs a substring
profanity check against a leet-folded (letters-only, lowercase) form of
the input. Callers now persist the normalized (trimmed) value.

Backed by direct unit tests (29 cases) and integration tests covering
profanity, control chars, and whitespace trimming on both register and
update paths.

Route register and display-name-update flows through a new static
DisplayNameValidator that enforces trimmed length, rejects Unicode
control/format characters used for impersonation, and runs a substring
profanity check against a leet-folded (letters-only, lowercase) form of
the input. Callers now persist the normalized (trimmed) value.

Backed by direct unit tests (29 cases) and integration tests covering
profanity, control chars, and whitespace trimming on both register and
update paths.
@vicplusplus vicplusplus closed this Apr 9, 2026
@vicplusplus vicplusplus deleted the claude/add-profanity-filter-F8qkf branch April 9, 2026 16:38
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