Friend cannot log in; UTF-8 characters in user name broken

Found something broken on the website or in the game, that isn't a plugin enhancement issue? Let's check it out.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

And don't forget to search for previously reported bugs first!
Post Reply
ullrich
Posts: 1
Joined: Wed Jan 28, 2009 1:08 am
Location: Germany

Friend cannot log in; UTF-8 characters in user name broken

Post by ullrich »

Hi there,
my colleague https://www.conquerclub.com/player.php? ... _id=621236 can no longer log in since the site crash. Password reset does not work.
When I try to invite him, the system says "Invite Failure: Invalid email format". It worked fine before.

Also, his user name "Tüdelü" now appears as T�del�, pointing at some encoding problem.
Email and password did not contain any special characters.

Admins, you can contact me via private message for his email.

Thanks for looking into it.

Cheers,

Carsten
GoranZ
Posts: 2934
Joined: Sat Aug 22, 2009 3:14 pm

Re: Friend cannot log in; UTF-8 characters in user name broken

Post by GoranZ »

The bug says... The database restore was not successful :lol:

How you shouldn't migrate from obsolete and unsupported MySQL 5.X to 8.4. There is a breaking change for utf8 columns.
Even a little kid knows whats the name of my country... http://youtu.be/XFxjy7f9RpY

Interested in clans? Check out the Fallen!
User avatar
evantish
Posts: 20
Joined: Wed Mar 02, 2011 5:03 pm
Gender: Female
Location: Pennsylvania

Re: Friend cannot log in; UTF-8 characters in user name broken

Post by evantish »

Unless there's some deeply integrated immutable hash id built off of the original unsafe name, this should be a tractable problem. Something like:
  • Manually change the username to something unambiguously safe that doesn't collide with other names
  • Update any linked tables that might contain or be keyed off the old name.
  • Login with new name and old password, or reset as normal.
  • If games are lost as a result, manually adjust scores and ranks--gift a subscription to the person or people harmed.
Post Reply

Return to “Bug Reports”