Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-255284

Players with name containing chars higher than 127 can't join on servers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.19.2, 22w45a, 22w46a
    • None
    • Confirmed
    • Networking
    • Very Important
    • Platform

      In the sourcecode of minecraft this function is used to verify username validation

      Source code example
      public static boolean isValidUsername(String s) {
            return s.chars().filter(paramInt -> (paramInt <= 32 || paramInt >= 127)).findAny().isEmpty();
      

      The problem is that there are existing users that will fail this check.

      List of usernames:

      • Sengångaren
      • Séboutron
      • Schokobrötchen

      Direkt Mojang-API Links to the accounts that are not able to join:

      https://sessionserver.mojang.com/session/minecraft/profile/166e87b2-7cb7-48a6-9349-9f81ab520d49
      https://sessionserver.mojang.com/session/minecraft/profile/4f022972-b336-4bc5-a7fe-09be3a7facbc
      https://sessionserver.mojang.com/session/minecraft/profile/35a4ec32-3974-448e-8f98-0c5e400ab895

            Unassigned Unassigned
            realoutfluencer realoutfluencer
            Votes:
            9 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: