π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Also include same workaround as mobile app
Manav Rathieaf8b9cebc77
diff --git a/web/apps/auth/src/services/code.ts b/web/apps/auth/src/services/code.tsindex a43a3d4730..a04409ceea 100644--- a/web/apps/auth/src/services/code.ts+++ b/web/apps/auth/src/services/code.ts@@ -49,6 +49,19 @@ export interface Code {* See also `auth/test/models/code_test.dart`.*/export const codeFromURIString = (id: string, uriString: string): Code => {+ try {+ return _codeFromURIString(id, uriString);+ } catch (e) {+ // We might have legacy encodings of account names that contain a "#",+ // which causes the rest of the URL to be treated as a fragment, and+ // ignored. See if this was potentially such a case, otherwise rethrow.+ if (uriString.includes("#"))+ return _codeFromURIString(id, uriString.replaceAll("#", "%23"));+ throw e;+ }+};++const _codeFromURIString = (id: string, uriString: string): Code => {const url = new URL(uriString);return {