yohcop / openid-go

OpenID consumer implementation in Go - golang
Other
83 stars 40 forks source link

strings can be empty #28

Closed byron-janrain closed 8 years ago

byron-janrain commented 8 years ago

At https://github.com/yohcop/openid-go/blob/master/normalizer.go#L22

if id comes in as empty string "" this panics with an index out of range instead of returning an error.

xStrom commented 8 years ago

Indeed. I can write a fix later tonight.