Issue with renaming user with unicode characters

I just tested renaming a user from “moep” to “Möp” and it worked.

  • What version of Discourse are you using?
  • Is this a standard install?
  • Is there some kind of reverse proxy in front of your Discourse?
  • Which browser are you using?
  • What’s the value of the allowed_unicode_username_characters setting?
  • Does renaming in the rails console work?
    ./launcher enter app
    rails c
    user = User.find_by_username("moep")
    new_username = "Möp"
    UsernameChanger.change(user, new_username, Discourse.system_user)
1 Like