forked from mystiq/dex
Merge pull request #430 from ericchiang/update_go-oidc
vendor: update go-oidc to fix parsing panic
This commit is contained in:
commit
ba5021a889
3 changed files with 7 additions and 5 deletions
6
glide.lock
generated
6
glide.lock
generated
|
@ -1,10 +1,10 @@
|
|||
hash: b0a1c1b400f077dac572450cb9602aabba62d9b7c6fc8ef426c2093de7621e8c
|
||||
updated: 2016-04-08T11:43:54.191409294-07:00
|
||||
hash: 2542cf3debe2db35e04c4cd29d8db83f7b52d90167f4e55be5a2b24f5b74c65b
|
||||
updated: 2016-04-25T17:06:03.25154684-07:00
|
||||
imports:
|
||||
- name: github.com/andybalholm/cascadia
|
||||
version: 6122e68c2642b7b75c538a63b15168c6c80fb757
|
||||
- name: github.com/coreos/go-oidc
|
||||
version: 6039032c0b15517897116d333ead8edf38792437
|
||||
version: 46fc3c20dcad27d27596c8832b354621bdd8b88f
|
||||
subpackages:
|
||||
- http
|
||||
- jose
|
||||
|
|
|
@ -5,7 +5,7 @@ import:
|
|||
- package: github.com/andybalholm/cascadia
|
||||
version: 6122e68c2642b7b75c538a63b15168c6c80fb757
|
||||
- package: github.com/coreos/go-oidc
|
||||
version: 6039032c0b15517897116d333ead8edf38792437
|
||||
version: 46fc3c20dcad27d27596c8832b354621bdd8b88f
|
||||
subpackages:
|
||||
- http
|
||||
- jose
|
||||
|
|
4
vendor/github.com/coreos/go-oidc/oidc/client.go
generated
vendored
4
vendor/github.com/coreos/go-oidc/oidc/client.go
generated
vendored
|
@ -311,7 +311,9 @@ func (p *stickyErrParser) parseURIs(s []string, field string) []url.URL {
|
|||
p.firstErr = fmt.Errorf("invalid URI in field %s", field)
|
||||
return nil
|
||||
}
|
||||
uris[i] = *(p.parseURI(val, field))
|
||||
if u := p.parseURI(val, field); u != nil {
|
||||
uris[i] = *u
|
||||
}
|
||||
}
|
||||
return uris
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue