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

CSP violations for Commit Message webview #731

Closed
tHBp opened this issue Nov 11, 2019 · 1 comment · Fixed by #733
Closed

CSP violations for Commit Message webview #731

tHBp opened this issue Nov 11, 2019 · 1 comment · Fixed by #733
Labels

Comments

@tHBp
Copy link

tHBp commented Nov 11, 2019

  • VSCode Version: 1.40.0
  • OS Version: macOS Mojave (10.14.6)
  • Extension Version: 2.0.1
  • System Language: en-us
  • SVN Version: 1.12.0

Issue

Commit button, Pick a previous commit message link, etc not working.
On opening webview inspector, got the following message in console on button click

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src vscode-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-g4hMc5gN46yzDsBgG6krPyUXTtnMdgr7Pp7z4kBL7mk='), or a nonce ('nonce-...') is required to enable inline execution

Steps to Reproduce

  1. Select some files to commit using right-click > Commit Selected
  2. Opens up a new Commit Message webview where the aforementioned buttons don't work.

SVN Output

Nothing in the log except svn version logging.

Let me know if you need more debug information.

@JohnstonCode
Copy link
Owner

🎉 This issue has been resolved in version 2.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants