HTML 框架上的 HTTP 引用

发布于 2024-09-30 09:02:15 字数 244 浏览 0 评论 0原文

假设我有一个从 one.com 到 Two.com/A.html 的链接。 A.html 看起来像这样

<FRAMESET cols="100%">
  <FRAME src="B.html">
</FRAMESET>

A.html 上的 HTTP Referer 是“one.com”,但是 B.html 上的 HTTP Referer 是什么?这个浏览器有特定的吗?

Say that I have a link from one.com to two.com/A.html. A.html looks like this

<FRAMESET cols="100%">
  <FRAME src="B.html">
</FRAMESET>

The HTTP Referer on A.html is "one.com", but what will the HTTP referer be on B.html? Is this browser specific?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

黒涩兲箜 2024-10-07 09:02:15

它将是two.com/A.html,来自容器的链接。它不是特定于浏览器的,除非浏览器被告知通过配置发送不同的引用者

it'll be two.com/A.html, the link from the container. It's not browser specific, unless the browser is told to send a different referer via configuration

我ぃ本無心為│何有愛 2024-10-07 09:02:15

它应该是two.com/a.html(即具有框架集的页面)。

请记住,这些引荐来源网址是由浏览器设置的,因此可以伪造。

It should be two.com/a.html (i.e. the page that has the frameset on it).

Remember that these referrers are set by the browser and therefore can be faked.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文