net/url: make Userinfo.String() escape ? and add test for shouldEscape
See RFC 3986 §3.2.1. Fixes #6573. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/126560043
Showing
Please
register
or
sign in
to comment