From 1386510fb35689c68e004d7b75bea4da98d4f0f4 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Mon, 29 Jan 2024 00:51:42 +0100 Subject: [PATCH] make sure OPENPGP4FPR is added only once (before it worked more by random as multiple schemes are converted to one by browsers --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 16473d9..5ecd53f 100644 --- a/index.html +++ b/index.html @@ -264,6 +264,8 @@ if (inputData.startsWith('https://i.delta.chat')) { inputData = inputData.replace(/https:\/\/i.delta.chat\/?#/, '') inputData = inputData.replace(/&/, '#') + } else { + inputData = inputData.replace(/openpgp4fpr:/i, '') } // '#' may be wrongly encoded to '%23' by Safari/iOS; convert it back. see issue #16