Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit usernames/room names/user input to specific set of characters #274

Open
alopezlago opened this issue May 13, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@alopezlago
Copy link
Collaborator

There are lots of Unicode characters that create strange rendering behaviors which are useful for trolls. The basic 8-bit ASCII range should be enough for most user input (usernames, room names, etc.). For answers you could allow some extended characters for answers, but that shouldn't be necessary. This filtering should be done at least on the server-side.

I haven't checked the code everywhere, but you should consider limiting the length of all user inputs, not just usernames or chat messages.

@VillainsRule
Copy link
Contributor

Are there already character limits?

@skysomorphic skysomorphic added the enhancement New feature or request label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants