3 ms·
> the only TLDs with two components are `"co.uk", "co.jp", "com.au", "co.nz", "com.br". Is this sarcasm? The public suffix list will give some ideas for omiss
by normie3000 11mo ago
> the only TLDs with two components are `"co.uk", "co.jp", "com.au", "co.nz", "com.br".
Is this sarcasm? The public suffix list will give some ideas for omissions: https://publicsuffix.org/list/public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat
- LoganDark 11mo agoThat was me pointing out what was plainly implemented in the code snippet I linked. It is obviously nowhere near the truth.
- monerozcash 11mo ago> and the only TLDs with two components are `"co.uk", "co.jp", "com.au", "co.nz", "com.br"`? There are a plenty of reasons why you might want to treat the most common two part TLDs as special, while not doing that with the less common ones.
- ziml77 11mo agoAnd those reasons would be...?
- valleyer 11mo agoRight; top-level comment is saying that those are all missing from the linked code.