From 9a30edc5fc71dea0032cb553adc05d53c12233da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= Date: Thu, 28 May 2026 13:43:10 +0200 Subject: [PATCH] Allow password with colons --- cmd/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config.go b/cmd/config.go index c865ce2..f6ede3e 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -96,7 +96,7 @@ func (c *Config) NewClient() *client.Client { // Using a BasicAuth for authentication if c.BasicAuth != "" { - s := strings.Split(c.BasicAuth, ":") + s := strings.SplitN(c.BasicAuth, ":", 2) if len(s) != 2 { check.ExitError(errors.New("specify the user name and password for server authentication ")) }