go-domain-util icon indicating copy to clipboard operation
go-domain-util copied to clipboard

Incorrect domain/domainPrefix parse

Open ant20 opened this issue 3 years ago • 0 comments

For url like https:\\yandex.ru we get scheme with domain

scheme = "https" domain = "https:\\yandex.ru" domainSuffix = "ru" domainPrefix = "https:\\yandex"

But for url like https:\\fff.yandex.ru, scheme is absent

scheme = "https" domain = "yandex.ru" domainSuffix = "ru" domainPrefix = "yandex"

ant20 avatar Apr 19 '22 13:04 ant20