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() {
|
const FlatHashSet<Slice, SliceHash> &get_valid_short_usernames() {
|
||||||
static const FlatHashSet<Slice, SliceHash> valid_usernames{"gif", "wiki", "vid", "bing", "pic",
|
static const FlatHashSet<Slice, SliceHash> valid_usernames{"gif", "vid", "pic"};
|
||||||
"bold", "imdb", "coub", "like", "vote"};
|
|
||||||
return valid_usernames;
|
return valid_usernames;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user