diff --git a/Dockerfile b/Dockerfile index 2d2bc85..e82fd63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24 AS builder +FROM golang:1.25 AS builder WORKDIR /build diff --git a/server/routes.go b/server/routes.go index e5e0456..15340f9 100644 --- a/server/routes.go +++ b/server/routes.go @@ -101,6 +101,9 @@ func (r *routesImpl) FindBackendForServerAddress(_ context.Context, serverAddres // Trim off Forge null-delimited address parts like \x00FML3\x00 serverAddress = strings.Split(serverAddress, "\x00")[0] + // Trim off infinity-filter backslash address parts like \\GUID\\CLIENT_IP... + serverAddress = strings.Split(serverAddress, "\\")[0] + serverAddress = strings.ToLower( // trim the root zone indicator, see https://en.wikipedia.org/wiki/Fully_qualified_domain_name strings.TrimSuffix(serverAddress, "."))