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

Previous document URL for reporting #6

Open
annevk opened this issue Jul 6, 2020 · 3 comments
Open

Previous document URL for reporting #6

annevk opened this issue Jul 6, 2020 · 3 comments

Comments

@annevk
Copy link

annevk commented Jul 6, 2020

Why not always use the referrer? If a site includes user information in the URL sometimes they might not wish for that to go into their COOP logs and it seems there's no way to prevent that with the current setup.

@camillelamy
Copy link
Owner

I think we wanted to provide the full URL when both pages were same-origin in order to make reports more actionable.

@arturjanc: Would always using the referrer URL be ok?

@arturjanc
Copy link

Is there a case where the referrer and the full URL will be different for a same-origin navigation, aside from things like Referrer-Policy: no-referrer?

If not, I don't feel strongly about special-casing same-origin URLs here so my guess is that always sending the referrer will be fine.

@camillelamy
Copy link
Owner

In the latest version, we have two fields, one for the referrer which we always send, and another for the URL which we only fill if they are same-origin.

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

3 participants