Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Credential names now support @ and _ #73
Conversation
| @@ -110,5 +117,22 @@ func IsValidCloudCredentialName(name string) bool { | ||
| } | ||
| func cloudCredentialTagSuffixToId(s string) string { |
axw
Sep 15, 2016
Member
I don't think this handles trailing escapes properly.
Can we just escape "_" to "%5f", and then use url.QueryUnescape?
|
LGTM, thanks. |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-names |
jujubot
merged commit 6f338bf
into
juju:v2
Sep 15, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wallyworld commentedSep 15, 2016
Credential names now may contain @ and _ characters.
Since _ is used as a separator in the tag string, any names containing _ need to be quoted.