csp-builder icon indicating copy to clipboard operation
csp-builder copied to clipboard

report-uri deprecated

Open Nenglish7 opened this issue 6 years ago • 3 comments

  • https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri

According to that this is no longer supported.

Nenglish7 avatar Apr 01 '18 03:04 Nenglish7

Though the report-to directive is intended to replace the deprecated report-uri directive, report-to isn’t supported in most browsers yet. So for compatibility with current browsers while also adding forward compatibility when browsers get report-to support, you can specify both report-uri and report-to:

paragonie-scott avatar Apr 01 '18 03:04 paragonie-scott

Ah both have to be set. Sorry for my not paying attention, in that case your example should be fixed?

Nenglish7 avatar Apr 01 '18 03:04 Nenglish7

will the example and test be updated?

bnomei avatar Sep 01 '19 18:09 bnomei