Closed Melaninneal closed 4 years ago
Thanks for the bug report. I'll try to create a test case with that example.
Real issue is https://golang.org/pkg/net/url/#InvalidHostError It's a string that implements the error interface.
Fixed in master. Will be released in v1.0.3.
doing a deep equal on errors often panics on reflect calls
&url.Error{ Op: "parse", URL: "http:// invalid.url.com/path?unencoded=true", Err: url.InvalidHostError(" "), }