Skip to content

crypto/x509: VerifyHostname treats zone-scoped IPv6 literals as DNS names #79719

Description

@rolandshoemaker

We use net.ParseIP, which doesn't handle zone IDs properly, so we fall back to treating the names as DNS names. We should be using netip instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions