From 0701d9f484c7b8b09b481a1707900d58297b2840 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Wed, 30 Dec 2020 12:52:06 -0700 Subject: [PATCH] Fix splitting all '=' --- unseal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unseal.go b/unseal.go index fec4d03..9c5ba7b 100644 --- a/unseal.go +++ b/unseal.go @@ -275,7 +275,7 @@ func parseEnvironment(raw string) map[string]string { continue } - splitVar := strings.Split(v, "=") + splitVar := strings.SplitN(v, "=", 2) if len(splitVar) > 1 { vars[splitVar[0]] = splitVar[1] }