github.com/yohcop/openid-go update to first tagged version (#11357)
This commit is contained in:
parent
fdf750e4d4
commit
dbb74978f7
9 changed files with 42 additions and 14 deletions
2
vendor/github.com/yohcop/openid-go/normalizer.go
generated
vendored
2
vendor/github.com/yohcop/openid-go/normalizer.go
generated
vendored
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue