We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 266bc58 commit 61e6dedCopy full SHA for 61e6ded
pkg/credentials/store.go
@@ -195,7 +195,7 @@ func validateCredentialCtx(ctxs []string) error {
195
}
196
197
// check alphanumeric
198
- r := regexp.MustCompile("^[-a-zA-Z0-9]+$")
+ r := regexp.MustCompile("^[-a-zA-Z0-9.]+$")
199
for _, c := range ctxs {
200
if !r.MatchString(c) {
201
return fmt.Errorf("credential contexts must be alphanumeric")
0 commit comments