missed a spot

This commit is contained in:
James Salter 2021-11-24 19:15:46 +11:00
parent b302bd6829
commit c378eb4b4a
1 changed files with 1 additions and 1 deletions

View File

@ -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 {