[BDS-6825] Unexpected or invalid characters in server-name breaks the server Created: 30/Jun/20  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.16.1
Fix Version/s: 1.16.210

Type: Bug
Reporter: Zizzy zizzy Assignee: Unassigned
Resolution: Fixed Votes: 4
Labels: None

Confirmation Status: Confirmed
ADO: 394668

 Description   

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   
Comment by Zizzy zizzy [ 22/Jul/20 ]

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

Comment by IonicEcko [ 21/Jul/20 ]

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
Comment by Zizzy zizzy [ 30/Jun/20 ]

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
Generated at Sat Jan 11 07:38:16 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.