Skip to content

Commit

Permalink
make sure OPENPGP4FPR is added only once (before it worked more by ra…
Browse files Browse the repository at this point in the history
…ndom as multiple schemes are converted to one by browsers
  • Loading branch information
r10s committed Jan 28, 2024
1 parent 3677534 commit 1386510
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1386510

Please sign in to comment.