-
Notifications
You must be signed in to change notification settings - Fork 6k
vsix extensions that utilise webviews are blocked by CSP #4098
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
Comments
Yeah, I think when we landed #3895 it caused this issue. Thanks for opening and providing repro steps! We'll take a look. |
Without pulling locally, i'd hazard a guess that the initial resource check it causing this issue: as almost all resources will - at some point, reference http / https which I suspect is causing the authorities not to be loaded because of the return early. |
Thanks for digging into that! That sounds likely, but I'll have to investigate to double-check. Hoping to get to this soon 🙏 |
Fixed by #4131 |
Uh oh!
There was an error while loading. Please reload this page.
Similar to #1530
vscode-webview.net
is blocked by the current CSP, could it be considered to be adding to the allowlist?Extension issue was found against: mhutchie/vscode-git-graph#535
Reproduction:
Code Server Info:
code-server: v3.11.1
VS Code: v1.57.1
Commit: c680aae
Date: 2021-08-06T18:33:37Z
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.31 Safari/537.36
The text was updated successfully, but these errors were encountered: