mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Limit hotspot name and password to only lowercase letters (on 29+)
This commit is contained in:
@@ -437,9 +437,8 @@ class HotspotManager {
|
||||
return "WIFI:S:" + ssid + ";T:WPA;P:" + password + ";;";
|
||||
}
|
||||
|
||||
// exclude chars that are easy to confuse: 0 O, 5 S, 1 l I
|
||||
private static final String chars =
|
||||
"2346789ABCDEFGHJKLMNPQRTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
||||
// exclude chars that are easy to confuse: 0 (O), 5 (S), 1 l (I)
|
||||
private static final String chars = "2346789abcdefghijkmnopqrstuvwxyz";
|
||||
|
||||
private String getRandomString(int length) {
|
||||
char[] c = new char[length];
|
||||
|
||||
Reference in New Issue
Block a user