When formatting the Base URL of the Conjur service, strings.TrimLeft("https://") was being used. This creates a "cut set" of h, t, p, :, and / and removes all instances of that from the left side of the given string until the characters no longer exist. This caused the Base URL https://poc-sandbox.joe-garcia.com to truncate to oc-sandbox.joe-garcia.com.
By changing to strings.TrimPrefix("https://") it will only remove that static value from the beginning of the string and prevent unwanted truncation from the hostname. This fix has been implemented.
When formatting the Base URL of the Conjur service,
strings.TrimLeft("https://")
was being used. This creates a "cut set" ofh
,t
,p
,:
, and/
and removes all instances of that from the left side of the given string until the characters no longer exist. This caused the Base URLhttps://poc-sandbox.joe-garcia.com
to truncate tooc-sandbox.joe-garcia.com
.By changing to
strings.TrimPrefix("https://")
it will only remove that static value from the beginning of the string and prevent unwanted truncation from the hostname. This fix has been implemented.