Duplicate false negatives and profanities break censoring #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
When a string has two false negatives and two profanities, the string is not censored properly.
What do you see?
outputs
For verbosity, note that by default,
documentis a false positive (meaning it should not be censored) andfuckis a profanity.What do you expect to see?
The output should be:
List the steps that must be taken to reproduce this issue
TwiN/go-away@3bf4c7a7e9/goaway_test.go (L148-L152)Version
v1.6.3
Additional information
I found this out while investigating #30