We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd396e commit c929eedCopy full SHA for c929eed
src/vector/platform/ElectronPlatform.tsx
@@ -479,7 +479,7 @@ export default class ElectronPlatform extends BasePlatform {
479
const url = super.getOidcCallbackUrl();
480
url.protocol = "io.element.desktop";
481
// Trim the double slash into a single slash to comply with https://datatracker.ietf.org/doc/html/rfc8252#section-7.1
482
- if (url.href.startsWith(`${url.protocol}://`)) {
+ if (url.href.startsWith(`${url.protocol}//`)) {
483
url.href = url.href.replace("://", ":/");
484
}
485
return url;
0 commit comments