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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Twitter Displaying Expanded Short URLs Using 301 Lookup

29 点作者 DanLivesHere超过 14 年前

7 条评论

brlewis超过 14 年前
FriendFeed had this over 2 years ago: <a href="http://friendfeed.com/steverubel/54df8bf5/short-urls-shared-on-friendfeed-now-reveal-re" rel="nofollow">http://friendfeed.com/steverubel/54df8bf5/short-urls-shared-...</a>
wmf超过 14 年前
Hopefully they improve this in the future by not showing the short URL at all.
jrockway超过 14 年前
<i>it prevents me from ever clicking on a short link that will take me to somewhere evil</i><p>There are plenty of ways to trick people with links. For example, you can register a domain called not-hardcore-porn.com, and then put porn there. Or you can just poison some upstream DNS cache, and then facebook.com goes to phishing-site.com.<p>The Internet is very insecure. Short links are the least of our worries.
teye超过 14 年前
<i>"In speaking with a few colleagues, it appears Twitter is using the 301 redirect on the short URL to provide the mouseover with the full URL."</i><p>Is this just a non-technical person attempting to inject a little detail into the article? My first thought was, "How would I do this in JS?" and it took me a second to decipher that sentence.
评论 #2065624 未加载
评论 #2064742 未加载
DanLivesHere超过 14 年前
Hootsuite has been doing this for a while with a + icon. Good to see Twitter itself doing it.
评论 #2064750 未加载
meterplech超过 14 年前
I also didn't notice this until today, but this is a great feature to prevent spam and malware. Usually I feel like my Twitter feed is filled with people and links that are moderately trustworthy, but that leaves everyone vulnerable to someone hijacking a twitter account using firesheep or something else.
pierrefar超过 14 年前
Any clue whether they are checking the destination URLs for malware? Using perhaps Google's Safe Browsing API ( <a href="http://code.google.com/apis/safebrowsing/" rel="nofollow">http://code.google.com/apis/safebrowsing/</a> )?