domains icon indicating copy to clipboard operation
domains copied to clipboard

Parsing blogspot.com subdomains fails

Open Littlericket opened this issue 3 years ago • 0 comments

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");

Littlericket avatar Sep 24 '21 11:09 Littlericket