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

Break out the report-to directive from report-uri. #42

Merged
merged 7 commits into from
Oct 19, 2019

Conversation

iangcarroll
Copy link
Contributor

In Chrome 76, this library's behavior with report-to does not work. Specifically, you cannot pass a URL as a report-to directive or Chrome will never send CSP reports, even if there is also a report-uri fallback.

I imagine this is because of the reporting API changes.

This is the easiest way I see to make this library start working again, but I am open to discussing it.

@iangcarroll
Copy link
Contributor Author

Tests should be passing now; let me know what you think.

@paragonie-scott paragonie-scott merged commit ab3f33f into paragonie:master Oct 19, 2019
@iangcarroll iangcarroll deleted the patch-2 branch October 25, 2019 00:39
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.

None yet

2 participants