Comments (3)
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:
from csp-builder.
Ah both have to be set. Sorry for my not paying attention, in that case your example should be fixed?
from csp-builder.
will the example and test be updated?
from csp-builder.
Related Issues (20)
- How to add strict-dynamic ? HOT 5
- Support for Feature-Policy header? HOT 2
- Ability to set both "report-uri" AND "report-to" HOT 1
- .htaccess support for headers
- Save to JSON HOT 1
- report-to directive not handled well by Chrome 76 HOT 2
- missing self in readme example
- Unable to add "blob" value to connect-src in json file HOT 1
- Add support for 'report-sample' directive
- Add support for 'require-trusted-types-for' policy HOT 1
- Add support for https: scheme HOT 1
- Add support for script-src-elem and script-src-attr
- Add method for retrieving value set for a directive HOT 1
- Support manifest-src directive HOT 1
- Add support for 'unsafe-hashes' policy HOT 1
- report-uri gets wrongly encoded HOT 1
- report-uri is encoded in to unuseable string HOT 3
- Integrate or document report-to
- `script-src-elem`, `script-src-attr`, `style-src-elem` and `style-src-attr` are not supported HOT 1
- Calling disableOldBrowserSupport can lead to un-expected regressions with frame-src directives
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csp-builder.