为什么 gmail 中的链接会重定向? [英] Why do links in gmail redirect?

查看:67
本文介绍了为什么 gmail 中的链接会重定向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到某些电子邮件服务(例如 gmail 或我学校的网络邮件)会重定向(或用于)电子邮件正文中的链接.因此,当我在电子邮件正文中输入www.google.com"并在 gmail 或其他内容中查看该电子邮件时,该链接会显示类似gmail.com/redirect?www.google.com"的内容.

I've noticed that some email services (like gmail or my school's webmail) will redirect links (or used to) in the email body. So when I put "www.google.com" in the body of my email, and I check that email in gmail or something, the link says something like "gmail.com/redirect?www.google.com".

这让我和我发送电子邮件的人(比如我的父母,他们不熟悉计算机)感到非常困惑.反正我总是点击链接,但为什么要使用这项服务?(我还担心我的信息可能会被发送到某个地方...我有什么可担心的吗?在重定向之前是否存储了一些东西?)

This was very confusing for me and the people I emailed (like my parents, who are not familiar with computers). I always clicked on the link anyway, but why is this service used? (I'm also worried that maybe my information was being sent somewhere... Do I have anything to worry about? Is something being stored before the redirect?)

抱歉,这是毫无根据的偏执.我只是好奇为什么有些事情会这样运作.

Sorry if this is unwarranted paranoia. I am just curious about why some things work the way they do.

推荐答案

这个重定向是一个 dereferrer 避免将 HTTP Referer 字段中的 URL 泄露给第三方站点,因为该 URL 可能包含会话 ID 等敏感数据.

This redirection is a dereferrer to avoid disclosure of the URL in the HTTP Referer field to third party sites as that URL can contain sensitive data like a session ID.

这篇关于为什么 gmail 中的链接会重定向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆