Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding issue with displayed user name #35

Open
lokal-profil opened this issue Mar 9, 2021 · 1 comment
Open

Encoding issue with displayed user name #35

lokal-profil opened this issue Mar 9, 2021 · 1 comment

Comments

@lokal-profil
Copy link

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

@wetneb
Copy link
Member

wetneb commented Mar 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants