vscode-live2d icon indicating copy to clipboard operation
vscode-live2d copied to clipboard

The modified workbench.html broke some other extenstions in vscode 1.64.2

Open Fubuchi opened this issue 3 years ago • 1 comments

Vscode version:

Version: 1.64.2 (user setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042

Here is the content of the csp in workbench.html in vscode 1.64.2

<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data: blob: vscode-remote-resource:;
 media-src 'self'; frame-src 'self' vscode-webview:; object-src 'self'; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; 
connect-src 'self' https: ws:; font-src 'self' https: vscode-remote-resource:;">

the connect-src has a new item: ws:

The workbench.html replaced by vscode-live2d didn't has this part hence it broke some extenstions (Remote WSL in my case). Adding ws: fixed the issue

Fubuchi avatar Feb 18 '22 07:02 Fubuchi

除了remote-wsl,同样也会使remote-container无法使用。

lemmonyjiang avatar Mar 21 '22 09:03 lemmonyjiang

Thanks for the feedback. The new version v1.8.1 has been released.

iCharlesZ avatar Aug 11 '22 03:08 iCharlesZ