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

Jpk/report to #41

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Jpk/report to #41

wants to merge 6 commits into from

Conversation

jpknoll
Copy link

@jpknoll jpknoll commented Apr 15, 2019

For #40

@juunas11
Copy link
Owner

Thanks for the contribution :)
I'd like to just clear up what is the correct schema for the Report-To header. Seems like MDN and the W3C spec differ slightly: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to#Examples vs https://www.w3.org/TR/reporting/#id-member. Any idea which is correct?

@jpknoll
Copy link
Author

jpknoll commented Apr 16, 2019

It looks like both schema's mostly agree? I tried to use the W3C draft for building the validation code. We'll have to see if anything changes after the draft gets finalized.

@jpknoll
Copy link
Author

jpknoll commented Apr 18, 2019

Also, in the standard, it looks like they're not wrapping multiple reports with square brackets.

Separate groups by comma, no square brackets.
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

Successfully merging this pull request may close these issues.

2 participants