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

Convert Cyrillic "lookalikes" to Latin characters when checking messages against word filter #198

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

FloatingMilkshake
Copy link
Collaborator

This PR closes #197.

Adds a map of some Cyrillic "lookalike" characters to Cliptok's word filter. This allows it to catch a common bypass attempt, where people substitute some Latin characters in their message for Cyrillic ones that look identical or extremely similar.

@FloatingMilkshake FloatingMilkshake requested a review from Erisa June 18, 2024 02:22
@Erisa Erisa merged commit d1c295b into main Jun 18, 2024
2 checks passed
@Erisa Erisa deleted the floatingmilkshake/cyrillic-filters branch June 18, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Todo: Replace Cyrillic characters with Latin characters when checking messages against filters
2 participants