Wikidata/editgroups

Encoding issue with displayed user name

lokal-profil opened this issue · 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

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.