Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support the unspecified IPv6 address in host #238

Copy link
Copy link
@slagiewka

Description

@slagiewka
Issue body actions

Currently host validator does not accept :: as a valid IPv6 address.

There are three ways this can be solved:

  1. Adjust the regexp to match ::
  2. Handle :: as a special case outside of current regexp
  3. Use node:net.isIPv6("::") (along with isIPv4 or isIP in general)

I see that this project has no imports from node's standard library. If this is by design, then 3. is out.

dtslvr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.