Skip to content

Tighten email and username validators#178

Open
alexskr wants to merge 1 commit into
developmentfrom
fix/validator-email-username-hardening
Open

Tighten email and username validators#178
alexskr wants to merge 1 commit into
developmentfrom
fix/validator-email-username-hardening

Conversation

@alexskr
Copy link
Copy Markdown
Member

@alexskr alexskr commented Apr 7, 2026

  • allow punycode TLDs in the email validator
  • document and test that non-ASCII email addresses are not supported
  • reject usernames with leading or trailing whitespace
  • remove admin and administrator from the reserved username list
  • add regression coverage for the updated validator behavior

- allow punycode TLDs in the email validator
- reject usernames with leading or trailing whitespace
- remove `admin` and `administrator` from the reserved username list
@alexskr alexskr marked this pull request as ready for review April 8, 2026 15:53
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