Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter view-source reports #333

Merged
merged 2 commits into from
Jan 17, 2024
Merged

Conversation

fritzmg
Copy link
Contributor

@fritzmg fritzmg commented Jan 8, 2024

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.

@fritzmg fritzmg changed the title Filter view-source reports Filter view-source reports Jan 8, 2024
@Seldaek Seldaek merged commit 9ae9fab into nelmio:master Jan 17, 2024
14 checks passed
@fritzmg fritzmg deleted the view-source-filter branch January 17, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants