mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
[PM-15167] Fix password generator ascii ambiguous sets (#12143)
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
This commit is contained in:
@@ -13,7 +13,7 @@ export const Ascii = Object.freeze({
|
|||||||
/** The full set of characters available to the generator */
|
/** The full set of characters available to the generator */
|
||||||
Full: Object.freeze({
|
Full: Object.freeze({
|
||||||
Uppercase: toCharacterSet("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),
|
Uppercase: toCharacterSet("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),
|
||||||
Lowercase: toCharacterSet("abcdefghijkmnopqrstuvwxyz"),
|
Lowercase: toCharacterSet("abcdefghijklmnopqrstuvwxyz"),
|
||||||
Digit: toCharacterSet("0123456789"),
|
Digit: toCharacterSet("0123456789"),
|
||||||
Special: SpecialCharacters,
|
Special: SpecialCharacters,
|
||||||
} as CharacterSets),
|
} as CharacterSets),
|
||||||
@@ -21,7 +21,7 @@ export const Ascii = Object.freeze({
|
|||||||
/** All characters available to the generator that are not ambiguous. */
|
/** All characters available to the generator that are not ambiguous. */
|
||||||
Unmistakable: Object.freeze({
|
Unmistakable: Object.freeze({
|
||||||
Uppercase: toCharacterSet("ABCDEFGHJKLMNPQRSTUVWXYZ"),
|
Uppercase: toCharacterSet("ABCDEFGHJKLMNPQRSTUVWXYZ"),
|
||||||
Lowercase: toCharacterSet("abcdefghijklmnopqrstuvwxyz"),
|
Lowercase: toCharacterSet("abcdefghijkmnopqrstuvwxyz"),
|
||||||
Digit: toCharacterSet("23456789"),
|
Digit: toCharacterSet("23456789"),
|
||||||
Special: SpecialCharacters,
|
Special: SpecialCharacters,
|
||||||
} as CharacterSets),
|
} as CharacterSets),
|
||||||
|
|||||||
Reference in New Issue
Block a user