Wrong for domains with AM tld
tigransimonyan opened this issue · 4 comments
Version 1.1.23
Steps to reproduce
pls.parse("foo--bar.am")
Expected Behavior
{ error: "Label can't contains two '-'", ... }
Actual Behavior
{ sld: "foo--bar", ... }
You can check this case in the AM registry: https://www.amnic.net/whois/
Hi @tigransimonyan, thanks for reporting this 😃
Is this a rule specific to .am
domains?
On the other hand, I'm not sure if this kind of validation belongs in psl
as it doesn't look like there are any such rules in the official public suffix list.
Thoughts?
Yes, this is the .am
domain specification.
The .am
domains don't support unicode sld too, for example: 㯘.am
😀
Unicode compatible names will not be instituted at AM-NIC until all issues related to IPv6 are resolved.
https://en.wikipedia.org/wiki/.am
Same issues for .հայ
domains.
The registration will allow users to disseminate information on the web using the .հայ domain in the Armenian alphabet.