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

Blacklisted words aren't filtered when surrounded by a set of characters #30

Closed
rasmusgerdin opened this issue May 21, 2019 · 0 comments
Assignees
Labels
Bug: Confirmed Issues that report confirmed bugs. Meta: Bugfix PRs that fix bugs or issues.

Comments

@rasmusgerdin
Copy link
Member

A blacklisted word surrounded by any set of characters is not detected by the word blacklist as it splits the message content up word by word and matches a word against the word blacklist.

Possible fix would be to split the message content up character by character and matching a series of letters in succession against the word blacklist.

@rasmusgerdin rasmusgerdin added Bug: Confirmed Issues that report confirmed bugs. Meta: Bugfix PRs that fix bugs or issues. labels May 21, 2019
@rasmusgerdin rasmusgerdin added this to To-do in The RTByte Project via automation May 21, 2019
@rasmusgerdin rasmusgerdin self-assigned this May 21, 2019
The RTByte Project automation moved this from To-do to Done May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed Issues that report confirmed bugs. Meta: Bugfix PRs that fix bugs or issues.
Projects
Development

No branches or pull requests

1 participant