-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
CSP error when clicking on "Create your first Dashboard" #4039
Comments
jezdez
referenced
this issue
Aug 5, 2019
What is the message you receive? |
I think this is about the difference between: - onClick={createDashboard}
+ onClick={() => CreateDashboardDialog.showModal()} |
@jezdez I think it may happen because of |
Ah, that could be it? |
I think so. If you can experiment with it - try to remove |
@kravets-levko is correct. I will fix it. |
arikfr
added a commit
that referenced
this issue
Aug 12, 2019
1 task
harveyrendell
pushed a commit
to pushpay/redash
that referenced
this issue
Nov 14, 2019
* Fix: remove inline script to avoid CSP violation Closes getredash#4039. * Restore eslint rule that prevents javascript href attributes. * Remove all inline script links.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Summary
When clicking on the "Create your first Dashboard" link after setup I get a CSP error in the browser console.
Steps to Reproduce
I believe the change in 9480d89#diff-90812e4fcbcd1df5f887a43bda5953f5R125 resulted in the code that is run when clicking on the link to be considered inline, instead of the separate function before.
Technical details:
The text was updated successfully, but these errors were encountered: