Defining bad words

You can define and manage bad words in the Bad words application.

Adding a new bad word

  1. Click New bad word.
  2. On the New bad word page, enter the following details:
    • Bad word - the string that should not appear in input text.

    • Bad word is a regular expression - if checked, the string entered into the previous field will searched as a regular expression.

    • Match whole word - if enabled, only whole word occurrences of the expression will be identified. If disabled, even words with substrings matching the expression will be identified.

    • Action - action that will be taken in case that the bad word is detected.

      • Use default settings - if enabled, global value will be used as set in Settings -> Security & Protection -> Bad words -> Bad word action.
    • Replace with - in case the Replace action is selected, the substitute for the bad word is defined here.

      • Use default settings - if enabled, global value will be used as set in Settings -> Security & Protection -> Bad words -> Bad word replacement.
  3. Click Save.

The system now checks all user inputs for the occurrence of the defined bad word or regular expression. When a user input matches the bad word definition, the system performs the set action. The Event log also logs an event with the BADWORD event code.

Selecting bad word language

You can define in which cultures will a certain bad word be filtered. Edit a bad word in the list in Bad words and switch to its Cultures tab. You will be offered with the following two options:

  • The word is not allowed in all cultures - the bad word will be filtered in all website cultures
  • The word is not allowed only in following cultures - the bad word will be filtered only in cultures added to the list that appears. Use the Add cultures and Remove button to modify the list of cultures.

The Cultures tab is not available when adding a new bad word. Save your new bad word before editing its cultures.