mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:43:45 +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. |
||
---|---|---|
.. | ||
components/chat | ||
fabricators | ||
integration | ||
jobs | ||
lib | ||
mailers | ||
models | ||
queries/chat | ||
requests | ||
serializer | ||
services | ||
support | ||
system | ||
validators | ||
plugin_helper.rb | ||
plugin_spec.rb |