mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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