net/url: proxy settings will be ignored when user credentials have a % sign in it #38166
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Set HTTP_PROXY to http://test:tes%t:server.com and tried to read http://google.com
What did you expect to see?
A connection to http://google.com via the proxy server.
What did you see instead?
Proxy settings were ignored. A connection to http://google.com didn't use a proxy server.
Everything works fine when the user credentials don't have a % sign.
The text was updated successfully, but these errors were encountered: