-
- Downloads
Avatars for Unicode usernames
When a new avatar is saved the user name gets encoded using `encodeURIComponent`, this does not affect names in latin characters, however it does change non-latin/unicode names to an encoded string. However, when reading the avatar image file, the function uses the username directly without enocinding it, so latin names work since the encoding doesn't change anything, however, Unicode names don't since the usernames don't match the encoded names. This fix adds the encoding function when reading the avatars. Also adds the encoding to the function that writes avatars from URL.
Please register or sign in to comment