1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/validators
Eugen Rochko 2a90da1837
Fix UniqueUsernameValidator comparison (#6926)
Comparison was downcasing only one side, therefore if previously
existing account had a non-lowercase spelling, it would be ignored
when checking for duplicates.

New rake task `mastodon:maintenance:find_duplicate_usernames` will
help find constraint violations that might have occured from the
presence of this bug.

Bump version to 2.3.3
2018-03-27 04:33:57 +02:00
..
blacklisted_email_validator.rb Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
status_length_validator.rb Validation of count works even when text of status is nil (#6429) 2018-02-04 12:32:41 +01:00
status_pin_validator.rb Limit users to 50 lists, remove pagination from lists API (#5933) 2017-12-09 01:32:29 +01:00
unique_username_validator.rb Fix UniqueUsernameValidator comparison (#6926) 2018-03-27 04:33:57 +02:00
unreserved_username_validator.rb pam authentication (#5303) 2018-02-02 10:18:55 +01:00
url_validator.rb Punycode URI normalization (#2370) 2017-04-25 02:47:31 +02:00