From c378eb4b4a4a67639f51a8afd717c0cb115eef11 Mon Sep 17 00:00:00 2001 From: James Salter Date: Wed, 24 Nov 2021 19:15:46 +1100 Subject: [PATCH] missed a spot --- src/open/clients/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open/clients/Element.js b/src/open/clients/Element.js index 56357db..8317e29 100644 --- a/src/open/clients/Element.js +++ b/src/open/clients/Element.js @@ -72,7 +72,7 @@ export class Element { if (isWebPlatform && trustedWebInstances.includes(link.webInstances[this.id])) { instanceHost = link.webInstances[this.id]; } - return `https://${instanceHost}/#/${fragmentPath}`; + return `https://${instanceHost}/#/${encodeURIComponent(fragmentPath)}`; } else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) { return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`; } else {