Mojira Archive
MC-255284

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

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

Works As Intended

outfluencer

2022-08-17, 09:54 AM

2023-06-14, 09:50 AM

2023-06-14, 09:50 AM

9

14

Confirmed

Very Important

Platform

Networking

1.19.2, 22w45a, 22w46a

-