Skip to content

Improve IPv6 handling for host names #740

@pjbgf

Description

@pjbgf

IPv6 host names are not being properly handled, which results in unhelpful error messages depending on the format used. Examples:

  • git@[::ffff:8c52:7903]:go-git/go-git.git results in dial tcp: address [:22: missing ']' in address
  • git@::ffff:8c52:7903:go-git/go-git.git results in dial tcp: lookup git@: no such host

This issue could be potentially tackled in two ways:

  • (short-term) Adding error message highlighting that IPv6 is not supported for host names.
  • (long-term) Add full support for IPv6 as host names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions