mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Disallow visually-empty profile names.
This commit is contained in:
committed by
Alex Hart
parent
523e21f3be
commit
a0031298d8
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user