mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 12:02:46 +08:00
ec2930712d
Via the API it is possible to create a user with an integer username. So 123 instead of "123". This causes the following 500 error: ``` NoMethodError (undefined method `unicode_normalize' for 1:Integer) app/models/user.rb:276:in `normalize_username' ``` See: https://meta.discourse.org/t/222281 |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |