TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

TIL not all domains are equal

1 点作者 alexkwan将近 10 年前

1 comment

Nadya将近 10 年前
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.