We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83185a6 commit 8f5861eCopy full SHA for 8f5861e
news/2 Fixes/7007.md
@@ -0,0 +1 @@
1
+Set a content security policy on webviews
src/client/common/application/webPanel.ts
@@ -132,6 +132,7 @@ export class WebPanel implements IWebPanel {
132
<head>
133
<meta charset="utf-8">
134
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
135
+ <meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' 'unsafe-eval' vscode-resource: data: https: http:;">
136
<meta name="theme-color" content="#000000">
137
<meta name="theme" content="${Identifiers.GeneratedThemeName}"/>
138
<title>React App</title>
0 commit comments