# Topic "popular links" panel domain extraction doesn't handle country TLDs

**URL:** <https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156>\
**Category:** Bug\
**Created:** [March 30, 2017, 4:32am UTC](https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156 "2017-03-30T04:32:15Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [March 31, 2017, 11:59pm UTC](https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156/27 "2017-03-31T23:59:01Z")

</div>

The expectations of what is correct here is alittle confusing for me.

> community.seqta.com.au seqta.com.au

_This provides me with a hint that I’ll be heading to a domain registered in Australia at the seqta domain_

vs

> [www.city.amakusa.kumamoto.jp](http://www.city.amakusa.kumamoto.jp/) kumamoto.jp

_This provides me with a hint that I’ll be heading to a domain registered in the Kumamoto prefecture in Japan_

Should I be reverting

[https://github.com/discourse/discourse/commit/7690cc6ca50d48c86449dd9c7bf16301aa31ebc4](https://github.com/discourse/discourse/commit/7690cc6ca50d48c86449dd9c7bf16301aa31ebc4)

first? Otherwise, we’ll be showing the full domain for all links.

---

_[View the full topic](https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156)._
