Skip to content

Not accepting IPv6 addresses #14

Description

@kLiHz

It seems I'm not able to set IPv6, for example [::1]:1080 or [2001:db8::1]:1080, as the proxy address, since the pattern seems to be handling only IPv4.

const proxyPattern = new Pattern(/(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|.+\..{2,}):\d{2,5}/, {

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