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

Correct square bracket handling in URL netloc #882

Merged
merged 1 commit into from
Jun 14, 2023

Commits on Jun 14, 2023

  1. Correct square bracket handling in URL netloc

    - The human representation of usernames and passwords should percent-
      encode square brackets.
    - Clean up the test suite to remove tests that use invalid hostnames
      (square brackets in a host name must only be used for IPv6 addresses).
    - Rename the remaining test using IPvFuture address syntax to make this
      explicit.
    - Drop a test for IPv6 addresses with a zone id; zone id support is
      controversial and expilictly excluded from the WHATWG URL standard.
      Zone ids *without percent characters in their name* continue to work
      as long as urllib.parse.urlsplit() accepts them but this is not
      something that yarl.URL() needs to support explicitly.
    mjpieters committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    5c977b5 View commit details
    Browse the repository at this point in the history