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

Get exception when try to clean string as '@' #99

Open
doherty88 opened this issue Dec 15, 2020 · 2 comments
Open

Get exception when try to clean string as '@' #99

doherty88 opened this issue Dec 15, 2020 · 2 comments

Comments

@doherty88
Copy link

Hello,
You can use following code to reproduce this exception. it is happend in version 3.0.4. And I also tried with 3.0.3, there was no excepiton.
var Filter = require('bad-words'),
filter = new Filter();

console.log(filter.clean("@"));

Thanks
Deyang

@vdfdev
Copy link

vdfdev commented Dec 18, 2020

Same for:
/
!
etc

@johnnyapol
Copy link

Appears to be a duplicate of #93

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