mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-30 09:46:30 -05:00
Only printable extended ASCII
This commit is contained in:
parent
b474d34cf0
commit
40b4dc3b61
@ -198,11 +198,13 @@ QVector<PasswordGroup> PasswordGenerator::passwordGroups() const
|
||||
if (m_classes & EASCII) {
|
||||
PasswordGroup group;
|
||||
|
||||
for (int i = 128; i <= 169; i++) {
|
||||
// [U+0080, U+009F] are C1 control characters,
|
||||
// U+00A0 is non-breaking space
|
||||
for (int i = 161; i <= 172; i++) {
|
||||
group.append(i);
|
||||
}
|
||||
|
||||
for (int i = 171; i <= 254; i++) {
|
||||
// U+00AD is soft hyphen (format character)
|
||||
for (int i = 174; i <= 255; i++) {
|
||||
if ((m_flags & ExcludeLookAlike) && (i == 249)) { // "﹒"
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user