snipe/banbuilder

Problem With 'Hello'

codingbrains2-design opened this issue · 2 comments

I created a PHP file and added some bad words using array_push().
when i input 'hello', it converts it into ****.
but i don't have hello word in the badwords array.

@raghucodingbrains
In such cases, check for full words like this

$censored = $censor->censorString('hello', true);

This will not censor hello word

#41 - that pull request should help sort out this issue.