how to see profanity filter list of default banned words?
how to see profanity filter list of default banned words?
-
-
- · Genesis
- ·
But when I click enable profanity filter, it starts to filter profanity. I am looking for the list that it is using to detect the profanity words.
-
-
·
LeonidS
-
·
In reply to Genesis
- ·
It is visible in the Antispam module only, the extraction of this list for the users will require modification.
-
·
LeonidS
-
- · Tim
-
·
In reply to Genesis
- ·
Go to Studio>Antispam>Profanity Filter
You can add additional words
-
- · LoneTreeLeaf
- ·
Found this post in a search because I was having issues with the Antispam filter blocking words such as a certain male body part, when I did not check ANY of the dictionaries nor did I have anything listed in the ban words text space.
Since the UNA devs do not wanna specify where these default words are, or the words contained in the dictionaries, I have done the research and located them in here "/plugins/snipe/banbuilder/src". No modification needed to review these words.
class BxAntispamProfanityFilter extends BxDol { protected $oProfanityFilter = null; protected $sPluginPath = BX_DIRECTORY_PATH_PLUGINS . 'snipe/banbuilder/src/'; public function __construct() { parent::__construct(); $sClassName = 'Snipe\BanBuilder\CensorWords'; $this->oProfanityFilter = new $sClassName;
Upon testing, it seems that en-base is being loaded in regardless if the box is checked or not in the Antispam Module settings.