TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

TIL not all domains are equal

1 pointsby alexkwanabout 10 years ago

1 comment

Nadyaabout 10 years ago
Original top-level domains and many Country-specific TLD&#x27;s are generally recognized. Generally because the regex is specific and hardcoded rather than being broad and general-scoped.<p>ICANN generic TLD&#x27;s (aka: mostly exploitation of companies) are generally not recognized unless the software uses a proper regex (eg: &quot;if it starts with <a href="http:&#x2F;&#x2F;" rel="nofollow">http:&#x2F;&#x2F;</a> and ends with ._____)<p>&quot;domain.space&quot; might not be a domain. Did the user forget a space and meant to type &quot;domain. Space&quot;?<p>Is get.coffee a domain or an accidental period instead of a space?<p>Report the problem to whatsApp and they might switch from hardcoded domain spotting to a more general regex. Or they might add more of the ICANN TLD&#x27;s.