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

fix: csp script-src-elem remove unsafe inline #29

Closed
nicolasauler opened this issue Jan 8, 2024 · 0 comments · Fixed by #72
Closed

fix: csp script-src-elem remove unsafe inline #29

nicolasauler opened this issue Jan 8, 2024 · 0 comments · Fixed by #72
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@nicolasauler
Copy link
Owner

nicolasauler commented Jan 8, 2024

Unsafe inline option was added to script-src-elem in Content Security Policy, because htmx.min.js was breaking with only 'self' in that header attribute.
Htmx was breaking only with showing plotly, but otherwise working fine.

This is a fix of the feature added in #28

https://observatory.mozilla.org/analyze/finnish.shuttleapp.rs
https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Headers_Cheat_Sheet.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant