diff --git a/src/vs/workbench/api/common/shared/webview.ts b/src/vs/workbench/api/common/shared/webview.ts index e65663eace3..9c78a6bf9f1 100644 --- a/src/vs/workbench/api/common/shared/webview.ts +++ b/src/vs/workbench/api/common/shared/webview.ts @@ -57,7 +57,7 @@ export function asWebviewUri( return URI.from({ scheme: Schemas.https, - authority: `${resource.scheme}+${encodeURIComponent(resource.authority)}.${webviewRootResourceAuthority}`, + authority: `${resource.scheme}+${resource.authority}.${webviewRootResourceAuthority}`, path: resource.path, fragment: resource.fragment, query: resource.query,