Skip to content

Parsing blogspot.com subdomains fails #4

@Littlericket

Description

@Littlericket

I dont think that this result is expected, also getRegisterable returns the complete domain name with the subdomain in it.
Example:

Utopia\Domains\Domain Object
(
    [domain:protected] => notcivil.blogspot.com
    [TLD:protected] =>
    [suffix:protected] =>
    [name:protected] =>
    [sub:protected] =>
    [parts:protected] => Array
        (
            [0] => notcivil
            [1] => blogspot
            [2] => com
        )

)

Invoked via

require_once(dirname(__FILE__) . "/vendor/autoload.php");
$domain = new \Utopia\Domains\Domain("notcivil.blogspot.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