You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected the call to url.Parse() to raise an error. Otherwise, I would expect testURL.Query() to return an error, if the function signature allowed it.
What did you see instead?
testURL.Query() silently drops malformed query parameters and url.Parse() raises no error.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go version go1.7.5 darwin/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
https://play.golang.org/p/qcpF1Vz3sY
What did you expect to see?
I expected the call to
url.Parse()
to raise an error. Otherwise, I would expecttestURL.Query()
to return an error, if the function signature allowed it.What did you see instead?
testURL.Query()
silently drops malformed query parameters andurl.Parse()
raises no error.The text was updated successfully, but these errors were encountered: