-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Referrer-Policy no-referrer-when-cross-origin #167
Comments
If so, the specification of |
What is unclear about the current spec? The full referrer URL is sent if the request is same-origin, and not sent otherwise. The whole thing is contingent based on the URL's origin. |
Simply put, the presence of these examples under |
Every one of those examples under I suppose we could add an example in the |
Adding an example would be nice, but it may be even more desirable to have a comment similar to the one in origin-when-cross-origin, to clarify the different treatment from strict-origin-when-cross-origin. The comment in origin-when-cross-origin is: NOTE: For the "origin-when-cross-origin" policy, we also consider protocol upgrades, e.g. requests from http://example.com/ to https://example.com/, to be cross-origin-referrer requests. Possible text for a comment for same-origin: NOTE: For the "same-origin" policy, we also consider protocol upgrades, e.g. requests from http://example.com/ to https://example.com/, to be cross-origin-referrer requests. |
Would you be willing to submit a PR to add this text? I'm happy to review it. |
Please add a new Referrer Policy
no-referrer-when-cross-origin
that simply force the browser to behave like ifno-referrer
was specified for cross-origin requests and like ifstrict-origin
was specified for same-origin requests.The text was updated successfully, but these errors were encountered: