Defining bad words

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

Adding a bad word

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

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

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

    • Action - action that the system performs if the bad word is detected.

      • Use default settings - if enabled, global value is used as specified in Settings -> Security & Protection -> Bad words -> Bad word action.
    • Replace with - if the Replace action is selected, defines the substitute for the bad word.

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

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

Selecting bad word language

You can define in which cultures the system filters a certain bad word. In the Bad words application, edit a bad word and switch to its Cultures tab. Here, the system offers the following options:

  • The word is not allowed in all cultures - the system filters the bad word in all website cultures.
  • The word is not allowed only in following cultures - the system filters the bad word only in selected website cultures. Use the Add cultures and Remove buttons to modify the list of cultures.

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