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/url: return an error if port is out of range #69444

Closed
wants to merge 1 commit into from

Commits on Sep 13, 2024

  1. net/url: return an error if port is out of range

    The existing implementation does not validate
    that the port number is in the allowed range.
    
    WHATWG URL Living Standard mandates that
    parsing URLs with invalid ports fails:
    https://url.spec.whatwg.org/#port-out-of-range
    
    Fixes golang#69443.
    dunglas committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f8180b9 View commit details
    Browse the repository at this point in the history