adopted-ember-addons/ember-cli-content-security-policy
View on GitHubUse report-to instead of the deprecated report-uri
Open
#166 opened on Nov 24, 2020
enhancementgood first issue
Repository metrics
- Stars
- (157 stars)
- PR merge metrics
- (PR metrics pending)
Description
The new Reporting API is not supported by all browsers yet, so this isn't something we need to move on for at least another year or so. As of November 2020 it's not yet supported by Firefox or Safari.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to
- At some point we'll want to add support for
report-toin addition toreport-uri. With both are present and the browser support both,report-totakes precedence. - Separately, when all browsers supported by ember has support for
report-towe'll want to drop thereport-urivalue.
Opened since @jelhan asked me to: https://github.com/rwjblue/ember-cli-content-security-policy/issues/148
Background