SIWECOS / HSHS-DOMXSS-Scanner

MIT License
3 stars 1 forks source link

Check for CSP-Report-Only header #42

Open Lednerb opened 6 years ago

Lednerb commented 6 years ago

Besides the Content-Security-Policy header, there is the Content-Security-Policy-Report-Only header that is used to report violations against the CSP without blocking content.

We should implement a check for this header and send a hint to the user, that he should consider using the Content-Security-Header instead.