bug: panic, when using utf-8 #47
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
use the test:
What do you see?
panic at:
github.com/TwiN/go-away.(*ProfanityDetector).Censor(0xc000082f08, {0xf8f7c7, 0x3c})
.../github.com/TwiN/go-away/goaway.go:193 +0x7a5
What do you expect to see?
UTF-8 filtered as well as ASCII
List the steps that must be taken to reproduce this issue
use the test from the description
Version
v1.6.9
Additional information
No response
The text was updated successfully, but these errors were encountered: