mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 07:43:41 +08:00
482ef0782d
This fixes an issue where a user could send an empty string as a chat message .e.g ' ' and the message would be posted. We don't want this, we need to strip the message first before validating for length etc. |
||
---|---|---|
.. | ||
chat | ||
core_ext | ||
chat_controller_spec.rb | ||
direct_messages_controller_spec.rb | ||
emojis_controller_spec.rb |