Skip to content

Conversation

@thunderbolt004
Copy link
Contributor

Description

Motivation

Additional details

Related issues and pull requests

Fixes #41130

@thunderbolt004 thunderbolt004 requested a review from a team as a code owner September 16, 2025 02:48
@thunderbolt004 thunderbolt004 requested review from bsmth and removed request for a team September 16, 2025 02:48
@github-actions github-actions bot added Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed labels Sep 16, 2025
For example, a document at `https://example.com/page.html` will send the referrer `https://example.com/`.
- `origin-when-cross-origin`
- : When performing a {{glossary("Same-origin_policy", "same-origin")}} request to the same protocol level (HTTP→HTTP, HTTPS→HTTPS), send the {{glossary("origin")}}, path, and query string. Send only the origin for cross origin requests and requests to less secure destinations (HTTPS→HTTP).
- : When performing a {{glossary("Same-origin_policy", "same-origin")}} request, send the {{glossary("origin")}}, path, and query string. Send only the origin for cross origin requests and requests to less secure destinations (HTTPS→HTTP).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change comes from #9495 originally.

@bsmth bsmth changed the title Update referrer policy index.md Remove reference to schemes when describing same-origin requests Sep 16, 2025
Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that's likely leaving less room for confusion!

@github-actions
Copy link
Contributor

Preview URLs

Flaws (3)

URL: /en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy
Title: Referrer-Policy header
Flaw count: 3

  • unknown:
    • No generic content config found
    • no blog root
    • no blog root

@bsmth bsmth merged commit 8f99a71 into mdn:main Sep 16, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with origin-when-cross-origin in Referrer Policy header

2 participants