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

Documentation button in nav bar has CSP error #80

Closed
0xTim opened this issue May 26, 2023 · 0 comments
Closed

Documentation button in nav bar has CSP error #80

0xTim opened this issue May 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed javascript Pull requests that update Javascript code

Comments

@0xTim
Copy link
Member

0xTim commented May 26, 2023

We block inline CSP (correctly) but are trying to use it in an onclick handler which is then blocked. This should be changed to use an event listener a la https://web.dev/csp/#inline-code-is-considered-harmful

@0xTim 0xTim added bug Something isn't working help wanted Extra attention is needed javascript Pull requests that update Javascript code labels May 26, 2023
@0xTim 0xTim closed this as completed Jul 23, 2024
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

No branches or pull requests

2 participants