Skip to content

https dial should check host against certificate #1093

@rsc

Description

@rsc
The code in package http that handles https
does not call Certificate.IsValidForHost.  Oops.

Adam, what's the right call?  Use the host name
in the URL, I assume.

How about for SMTP?  What host name do we use there?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions