Remove 4-letter usernames from the list of short usernames.
This commit is contained in:
parent
f3a1407f8f
commit
cbb10e0f3d
@ -1310,8 +1310,7 @@ static Slice fix_url(Slice str) {
|
||||
}
|
||||
|
||||
const FlatHashSet<Slice, SliceHash> &get_valid_short_usernames() {
|
||||
static const FlatHashSet<Slice, SliceHash> valid_usernames{"gif", "wiki", "vid", "bing", "pic",
|
||||
"bold", "imdb", "coub", "like", "vote"};
|
||||
static const FlatHashSet<Slice, SliceHash> valid_usernames{"gif", "vid", "pic"};
|
||||
return valid_usernames;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user