Add banned word i've got error when view the post

  • Last Post 06 December 2017
lucy posted this 17 July 2017

Add banned word i've got error when view the post, anybody test it

Order By: Standard | Newest | Votes
Peddev posted this 17 July 2017

does the post contain the word that you banned?

lucy posted this 18 July 2017

I've tested, the website corrupt. Have you test this ?

Peddev posted this 19 July 2017

I'm using banned words but haven't had any problems. Just wondered if banning a word that already appears in posts had an adverse affect.

Not sure what you mean by "website corrupt", presumably it throws an error? posting that would probably help. 

Does the site build? if so, when you view the page with the error does it not break on a particular line?

  • Liked by
  • YodasMyDad
lucy posted this 22 July 2017

private static string StarCensoredMatch(Match m)


            var word = m.Captures[0].Value;

            return new string(Convert.ToChar(ConfigUtils.GetAppSetting("BannedWordReplaceCharactor")), word.Length);


i've got error in this method

for example: var word = m.Captures[0].Value; // jav

return new string(Convert.ToChar(ConfigUtils.GetAppSetting("BannedWordReplaceCharactor")), word.Length);// Value cannot be null

How can i fix it?

YodasMyDad posted this 15 September 2017

Please raise an issue on github

lucy posted this 06 December 2017

hi, can you test by adding porn, xvideo, jav keyword