src/vs/workbench/services/workspaces/common/workspaceTrust.ts/WorkspaceTrustManagementService/getCanonicalUri
class WorkspaceTrustManagementService:	private async getCanonicalUri(uri: URI): Promise<URI> {
		if (isCI) {
			this._logService.info('[WT] Enter getCanonicalUri()...');
		}

		if (this.environmentService.remoteAuthority && uri.scheme === Schemas.vscodeRemote) {
			if (isCI) {
				this._logService.info('[WT] Return this.remoteAuthorityResolverService.getCanonicalURI(uri)...');
			}

			return this.remoteAuthorityResolverService.getCanonicalURI(uri);
		}

		if (uri.scheme === 'vscode-vfs') {
			const index = uri.authority.indexOf('+');
			if (index !== -1) {
				return uri.with({ authority: uri.authority.substr(0, index) });
			}
		}

		return uri;
	}