You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix!: URL encode secret names in InsecureProvider (#913)
BREAKING CHANGE: Secret names with special characters (such as `/`) will be URL encoded. Existing secrets containing special characters must be recreated.
Signed-off-by: FelixTing <[email protected]>
returnerrors.NewCommonEdgeX(errors.KindNotAllowed, "can't store secrets. ConfigurationProvider is not in use or has not been properly initialized", nil)
120
125
}
121
126
127
+
// URL encode the secretName to handle special characters like '/' which is used as key delimiter by core-keeper
128
+
encodedSecretName:=url.QueryEscape(secretName)
129
+
122
130
// insert the top-level data about the secret name
0 commit comments