0
0
Fork 0

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
This commit is contained in:
Eugen Rochko 2018-03-27 04:33:57 +02:00 committed by GitHub
parent 40e5d2303b
commit 2a90da1837
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 3 deletions

View file

@ -13,7 +13,7 @@ module Mastodon
end
def patch
2
3
end
def pre