The bug
When attempting to join servers with certain IP addresses, the address is not properly removed from the connection error. This could be problematic, as those who do not want to share the IP address of the server to which they are attempting to connect may accidentally reveal it.
Reported based on the validity of MC-237608.
How to reproduce
Navigate to Multiplayer -> Direct Connect
Enter the IP address
16777216(or1.0.0.0if you'd prefer)Wait for the connection to time out
❌ The IP address is displayed on the error screen
Unable to replicate on 1.18.2.