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

Add a "prevent these words from being sent" config #393

Open
iphydf opened this issue Dec 23, 2024 · 0 comments
Open

Add a "prevent these words from being sent" config #393

iphydf opened this issue Dec 23, 2024 · 0 comments
Labels
enhancement New feature for the user, not a new feature for build script
Milestone

Comments

@iphydf
Copy link
Member

iphydf commented Dec 23, 2024

I'd like a list of strings that must never be sent through toxic. If I try to send it, toxic should block the enter key's action (not send, not clear the message entry line either). This is to prevent leaking certain well-known information, e.g. hunter2. It should be a simple substring match, so btwhunter2 should also be blocked. If we want to be fancy, we can do regex, but then we need to start depending on a regex library, so I'd start with just a substring match.

@iphydf iphydf added the enhancement New feature for the user, not a new feature for build script label Dec 23, 2024
@iphydf iphydf added this to the v0.16.x milestone Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature for the user, not a new feature for build script
Projects
None yet
Development

No branches or pull requests

1 participant