mojira.dev
BDS-6825

Unexpected or invalid characters in server-name breaks the server

Summary

Using a semicolon ( ; ) in the server-name field causes clients to be unable to join the server. No feedback is provided in the console to indicate a problem.

Steps to reproduce...

  1. Open server.properties and change server-name to "Test;" without quotes

  2. Start the server

  3. Note no indication the server isn't or wont function

  4. Open Minecraft - note the server details is stuck on locating server

  5. Attempt to connect, note the immediate "Unable to Connect" screen

What I expected to happen...

Some form of feedback to advise invalid characters in name.

What actually happened...

Server starts without issue and appears to be working but no one can connect.

Comments 6

I forgot to mention that even after removing the unicode 200b chars, it is still broken. I'm not certain which character(s) BDS is puking on:

server-name=§k§c§kYEPAAAAH§r§c§l§o§r§l§o§a§l§o- §r§2§l§oHACHIKEROS ;3§r

I forgot to mention that even after removing the unicode 200b chars, it is still broken. I'm not certain which character(s) BDS is puking on:

server-name=§k§c§kYEPAAAAH§r§c§l§o§r§l§o§a§l§o- §r§2§l§oHACHIKEROS ;3§r

Original description:

The following server name breaks BDS with no visible indication that it is not working. The startup log looks exactly like it does when it is working,  you simply cannot connect. The client immediately returns with "unable to connect to world."

 

server-name=§k§c§kYEPAAAAH§r§c§l§o<200b><200b><200b><200b><200b><200b>§r§l§o§a§l§o- §r§2§l§oHACHIKEROS ;3§r

Original description:

The following server name breaks BDS with no visible indication that it is not working. The startup log looks exactly like it does when it is working,  you simply cannot connect. The client immediately returns with "unable to connect to world."

 

server-name=§k§c§kYEPAAAAH§r§c§l§o<200b><200b><200b><200b><200b><200b>§r§l§o§a§l§o- §r§2§l§oHACHIKEROS ;3§r

It was the semicolon!? That's the last character I would have guessed. Nice find!

It was the semicolon!? That's the last character I would have guessed. Nice find!

Zizzy zizzy

(Unassigned)

Confirmed

Retrieved