Disallow visually-empty profile names.

This commit is contained in:
Greyson Parrelli
2022-01-24 17:32:39 -05:00
committed by Alex Hart
parent 523e21f3be
commit a0031298d8
4 changed files with 12 additions and 5 deletions

View File

@@ -17,7 +17,10 @@ public final class StringUtil {
private static final Set<Character> WHITESPACE = SetUtil.newHashSet('\u200E', // left-to-right mark
'\u200F', // right-to-left mark
'\u2007'); // figure space
'\u2007', // figure space
'\u200B', // zero-width space
'\u2800'); // braille blank
private static final class Bidi {
/** Override text direction */