Skip to content

Parsing invalid domain names #1

@yaleman

Description

@yaleman

If I run parse_dns_name on test.sdfasdfsdfasdf I would expect, after providing a public suffix list - that it wouldn't return this as having a registrable part, let alone with a with a root of test.sdfasdfsdfasdf and a registrable of test.

I note that the only things in your test suite are for valid domains, not invalid ones - is this failure to match intentional in some way, or am I holding it wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions