mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:34:18 +08:00
d45bd7f131
* 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 |
||
---|---|---|
.. | ||
censored_words_validator_spec.rb |