github.com/yohcop/openid-go update to first tagged version (#11357)

This commit is contained in:
6543 2020-05-10 10:53:04 +02:00 committed by GitHub
parent fdf750e4d4
commit dbb74978f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 42 additions and 14 deletions

View file

@ -25,7 +25,7 @@ func Normalize(id string) (string, error) {
// Global Context Symbol ("=", "@", "+", "$", "!") or "(", as
// defined in Section 2.2.1 of [XRI_Syntax_2.0], then the input
// SHOULD be treated as an XRI.
if b := id[0]; b == '=' || b == '@' || b == '+' || b == '$' || b == '!' {
if b := id[0]; b == '=' || b == '@' || b == '+' || b == '$' || b == '!' || b == '(' {
return id, errors.New("XRI identifiers not supported")
}