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

Outsmart the l33t. #4

Open
jpoehls opened this issue Jul 11, 2012 · 5 comments
Open

Outsmart the l33t. #4

jpoehls opened this issue Jul 11, 2012 · 5 comments
Assignees

Comments

@jpoehls
Copy link

jpoehls commented Jul 11, 2012

The filter should be smart enough to find profanity that uses 0 (zeros) to represent O's. 3's for e's, and whatever other character replacements are common for bypass filters like this.

@ChaseFlorell
Copy link
Owner

You're absolutely correct. That's why you can add your custom phrases to your json phrases file. For performance reasons, I'd prefer using array matching over tons of regex matching (but hey, that's just me). The implementation that I needed this for is an "opt in" filter. This means that in my particular application, there shouldn't be any "bypass" attempts.

Feel free to submit a pull request with the addition of regex matching. Just be sure to make it "optional" within the config.

@ChaseFlorell
Copy link
Owner

If I can get time, I might add this feature. I'm just super busy right now.

@ferventcoder
Copy link

My boss was actually noting that this didn't have regex...so that would be awesome to have added!

@acupoftee
Copy link

acupoftee commented Sep 22, 2017

I would love to help contribute!

@ChaseFlorell
Copy link
Owner

I would love the help! I haven't touched javascript in several years as I'm working on Xamarin mobile apps. I'll accept any PR you can send :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants