mirror of
https://github.com/discourse/discourse.git
synced 2025-03-05 18:59:22 +00:00
* Abort CensoredWordsValidator early if censored_words_regexp nil. Sometimes censored_words_regex can end up nil, erroring the validator. This handles the nil condition and also adds a spec for the validator