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

Isn’t this patently obvious?

  • meta.discourse.org → discourse.org
  • www.youtube.com → youtube.com

That sounds correct to me, the goal is to shorten, to reduce redundant or over specific information, but if it’s already quite short to begin with, why bother?

The actual edge condition would be something like

crazilylongthinghere.abv.bg

and I am willing to bet that is incredibly rare.

1 « J'aime »