mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +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