editgroups icon indicating copy to clipboard operation
editgroups copied to clipboard

Encoding issue with displayed user name

Open lokal-profil opened this issue 4 years ago • 1 comments

Looks like there is some encoding issue on the displayed username (of the logged in user) where characters such as é and parenthesises are dropped.

See e.g. image below where the user name should be André costa (WMSE) image

lokal-profil avatar Mar 09 '21 14:03 lokal-profil

Thanks for reporting! It seems that this is due to Django's built-in User model only accepting a limited set of characters in the username field. This could be fixed with a custom user model or simply by retrieving the original username from the OAuth data.

wetneb avatar Mar 09 '21 20:03 wetneb