Skip to content
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

Document how Referrer Policy would work with suborigins #80

Open
jeremylong opened this issue Apr 23, 2018 · 1 comment
Open

Document how Referrer Policy would work with suborigins #80

jeremylong opened this issue Apr 23, 2018 · 1 comment
Milestone

Comments

@jeremylong
Copy link

This question may be in the wrong w3c repo; however, I will start here.

How would suborigins work with referrer policy? If I wanted a referrer header sent amongst all resources on a single origin ("strict-origin") yet I also want to create suborigins. It seems that creating suborigins would limit what could be done with a referrer policy in its current state - and maybe this is intended. However, I would see value in being able to limit referrer headers to a single origin and any suborigins.

At a minimum the interaction between suborigin and referrer policy should be documented.

@devd
Copy link
Contributor

devd commented Apr 23, 2018

I think right now it would just be that any request from a suborigin will be treated as cross origin and the referrer won't be sent. I agree we should document this. CC @estark37 since jochen is already on this repo. I suspect we want to document it in this spec so lets use this issue to track that.

Your broader point about this is not flexible enough is right; but is also true for referrer-policy today, unfortunately. See Michal's points in the whole thread at https://lists.w3.org/Archives/Public/public-webappsec/2014Nov/0107.html or https://readable-email.org/list/public-webappsec/topic/early-morning-thoughts-on-referrers

@devd devd changed the title Referrer Policy Document how Referrer Policy would work with suborigins Apr 23, 2018
@devd devd added this to the v1 milestone Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants