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

Feature - Mjolnir's WordList protection would be a lot more powerful if you could use regular expressions. #547

Open
PC-Admin opened this issue Oct 13, 2024 · 2 comments · May be fixed by #546

Comments

@PC-Admin
Copy link
Contributor

There's a lot of spammers always posting t.me links on the network these days.

It's frustrating because Mjolnir currently can't handle dynamic things like URLs. So you're stuck banning common words humans are more likely to use...

@MichaelSasser
Copy link

Since the previous config example suggested it, we assumed it supports regular expressions. After some testing, we noticed quickly that it actually didn't or that we were missed something. As a workaround, we often do something like t.me/ for URLs, if we wanted to generally ban everyone using a specific domain like this.

It works for most cases pretty well, and we had no issues doing this for years. Still, in certain situations, it would be beneficial if we could use regular expressions instead. A couple of times, we were unable to add something to the word list because it would create to many false-positives cases. This would solve this issue.

@PC-Admin
Copy link
Contributor Author

Need help getting this patch through if anyone has the time: #546 (comment)

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

Successfully merging a pull request may close this issue.

2 participants