Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: simplify validPort after CL 189258 #33600

bradfitz opened this issue Aug 12, 2019 · 1 comment


Copy link

commented Aug 12, 2019 pushes some URL validation down into net/url that was previously only done in net/http.

We can remove net/http's at this point.

/cc @FiloSottile

@andybons andybons added this to the Go1.14 milestone Aug 12, 2019

dphan72 added a commit to dphan72/go that referenced this issue Aug 13, 2019

net/http: remove redundant port validation
The URL port is already checked in net/url, so we can remove the redundant validation in net/http.

Fixes golang#33600
@dphan72 dphan72 referenced a pull request that will close this issue Aug 13, 2019

This comment has been minimized.

Copy link

commented Aug 13, 2019

Change mentions this issue: net/http: remove redundant port validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.