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

Apply bad words filter before accepting the username #63

Open
itaditya opened this issue Nov 25, 2017 · 2 comments
Open

Apply bad words filter before accepting the username #63

itaditya opened this issue Nov 25, 2017 · 2 comments

Comments

@itaditya
Copy link

In the form in which a user is required to enter a username, any word is accepted. I was able to use even bad words (need examples ?) as my username. Then in the chat also bad words are sent to other users. This hinders a chat conversation. Some filter must be provided or else give user a preference to mask bad words in a conversation

@csoni111
Copy link
Contributor

Implementing such a filter would be a good idea. We can either use another library (wordfilter) to do this on the server side or build our custom filter using a list of bad words stored in a json blob online.

@captn3m0
Copy link
Member

captn3m0 commented Dec 6, 2017

You'll always miss out somethings and the filter will be bypassed. Also see https://gist.github.com/mahemoff/2314663, might be helpful if we're fixing this.

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

No branches or pull requests

3 participants