Skip to content

extract_from_url should handle url without protocol-scheme #6

@nsteinberg-r7

Description

@nsteinberg-r7

How to reproduce:
call extract_from_url with //mail.google.com/mail as input

result will be Invalid Domain Error
expected behavior is to handle the case of missing protocol and return {subdomain: mail, domain: google, suffix: com}

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