@@ -261,7 +261,7 @@ index 2c64061da7..c0ef8faedd 100644
261261 // Do nothing. If we can't read the file we have no
262262 // language pack config.
263263diff --git a/src/vs/code/browser/workbench/workbench.ts b/src/vs/code/browser/workbench/workbench.ts
264- index 45f6f17ce0..102289c147 100644
264+ index 45f6f17ce0..546b4c24de 100644
265265--- a/src/vs/code/browser/workbench/workbench.ts
266266+++ b/src/vs/code/browser/workbench/workbench.ts
267267@@ -16,6 +16,7 @@ import product from 'vs/platform/product/common/product';
@@ -306,14 +306,14 @@ index 45f6f17ce0..102289c147 100644
306306 const config: IWorkbenchConstructionOptions & { folderUri?: UriComponents, workspaceUri?: UriComponents } = JSON.parse(configElementAttribute);
307307
308308+ // Strip the protocol from the authority if it exists.
309- + const normalizeAuthority = (authority? : string): string => authority && authority.replace(/^https?:\/\//, "");
309+ + const normalizeAuthority = (authority: string): string => authority.replace(/^https?:\/\//, "");
310310+ if (config.remoteAuthority) {
311311+ (config as any).remoteAuthority = normalizeAuthority(config.remoteAuthority);
312312+ }
313- + if (config.workspaceUri) {
313+ + if (config.workspaceUri && config.workspaceUri.authority ) {
314314+ config.workspaceUri.authority = normalizeAuthority(config.workspaceUri.authority);
315315+ }
316- + if (config.folderUri) {
316+ + if (config.folderUri && config.folderUri.authority ) {
317317+ config.folderUri.authority = normalizeAuthority(config.folderUri.authority);
318318+ }
319319+
0 commit comments