jinora icon indicating copy to clipboard operation
jinora copied to clipboard

Apply bad words filter before accepting the username

Open itaditya opened this issue 7 years ago • 2 comments

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

itaditya avatar Nov 25 '17 12:11 itaditya

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.

csoni111 avatar Nov 26 '17 12:11 csoni111

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.

captn3m0 avatar Dec 06 '17 07:12 captn3m0