Firefox reports a CSP violation on the view-source view for any URL with a Content-Security-Policy directive for default-src or style-src (except unsafe-inline of course) - and also sends a CSP report to the report-uri. This PR filters any reports sent from view-source views.
Firefox reports a CSP violation on the
view-source
view for any URL with a Content-Security-Policy directive fordefault-src
orstyle-src
(exceptunsafe-inline
of course) - and also sends a CSP report to thereport-uri
. This PR filters any reports sent fromview-source
views.