magneticflux- / fabric-mumblelink-mod

A Fabric mod that connects to the MumbleLink plugin.
GNU Lesser General Public License v3.0
51 stars 13 forks source link

Client fails to open URLs with password and empty username #37

Closed magneticflux- closed 3 years ago

magneticflux- commented 3 years ago

From the documentation:

To create a link to a server and specifying that servers password, you can leave the username empty.

The client prints:

[17:16:27] [Netty Client IO #2/WARN]: Ignoring invalid VoIP client URI "mumble://[:password@server.com]/Minecraft/Overworld/"
magneticflux- commented 3 years ago

Caused by including the userinfo subcomponent in the host field. This tricks java.net.URI into assuming an IPv6 address which isn't correct.