]> cat aescling's git repositories - mastodon.git/commit
Allow hyphens in the middle of remote user names (#9345)
authorThibG <thib@sitedethib.com>
Tue, 27 Nov 2018 11:28:01 +0000 (12:28 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 27 Nov 2018 11:28:01 +0000 (12:28 +0100)
commit395615d9f3c521824f7e56f6d1bb2d82b8e421b4
treee6e1821481ee41819e582d1d03811c2a3bc7c0a6
parentd5fac45f5b3501e923401a12a9b18d225b19232a
Allow hyphens in the middle of remote user names (#9345)

Fixes #9309

This only allows hyphens in the middle of a username, much like dots,
although I don't have a compelling reason to do so other than keeping
the changes minimal.
app/models/account.rb
spec/models/account_spec.rb