You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enable the special characters password policy, and set it to 10
enable "Restrict to these special characters" and put an emoji, e.g. 😀 in the special characters list.
add a user, change their password... giving only 2 😀😀 in the password - you get an error message, good.
add a user, change their password... giving 3 😀😀😀 in the password. The password is saved.
It seems that the smiley emoji counts as 4 characters, and 3 of them is enough to exceed the 12 special characters requirement.
I guess that this will apply to other Unicode characters whose storage is greater than 1 byte. Probably the special characters is counting bytes of special character, rather the number of "functional" characters.
Firstly, what is the actual reasonable requirement here, if people put Unicode characters in this special characters field?
The text was updated successfully, but these errors were encountered:
I tried with the Devanagari Nepali character न - 3 of those are not enough, 4 of those gets to the 10 character limit. So I guess that Unicode character is 3 bytes long.
Somebody might actually do this sort of thing in India or Russia (Cyrillic) or...
phil-davis
changed the title
Cunting of emojis as special characters
Counting of emojis as special characters
Sep 27, 2018
It seems that the smiley emoji counts as 4 characters, and 3 of them is enough to exceed the 12 special characters requirement.
I guess that this will apply to other Unicode characters whose storage is greater than 1 byte. Probably the special characters is counting bytes of special character, rather the number of "functional" characters.
Firstly, what is the actual reasonable requirement here, if people put Unicode characters in this special characters field?
The text was updated successfully, but these errors were encountered: