nico3333fr / CSP-useful

Collection of scripts, thoughts about CSP (Content Security Policy)
MIT License
487 stars 59 forks source link

Misleading / confusing comment #87

Closed DanielRuf closed 2 years ago

DanielRuf commented 4 years ago

if you are not using these services, uncomment these lines to enable other filters

https://github.com/nico3333fr/CSP-useful/blame/master/report-uri/csp-parser-enhanced.php#L1566

Shouldn't this be the opposite? When a website uses Google Fonts, we want to filter (out) the reports for Google Fonts and uncomment (= activate these lines) these rules.

What other filters? https://github.com/nico3333fr/CSP-useful/commit/61106b31683928a0f3dde3d312eaa257d0740914