Comment to 'how to see profanity filter list of default banned words?'
  • 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.