mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 09:17:30 +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. |
||
---|---|---|
.. | ||
controllers/chat | ||
helpers/chat | ||
jobs | ||
models | ||
policies | ||
queries/chat | ||
serializers/chat | ||
services | ||
validators/chat | ||
views |