mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 06:11:55 +08: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