Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing blogspot.com subdomains fails #4

Open
Littlericket opened this issue Sep 24, 2021 · 0 comments
Open

Parsing blogspot.com subdomains fails #4

Littlericket opened this issue Sep 24, 2021 · 0 comments

Comments

@Littlericket
Copy link

Littlericket commented Sep 24, 2021

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");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant