From 16d84b3b5fb100b5ad71c50d52e699b5207d52e5 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 3 Jul 2020 09:26:07 +0200 Subject: [PATCH] Force uppercase for qr links (spec) --- assets/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts.js b/assets/scripts.js index eb424e2..70a7743 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -822,7 +822,7 @@ if (elUtilQR) { elInput.addEventListener("input", async function(evt) { if (evt.target.value) { - qrcode.makeCode(`OPENPGP4FPR:${evt.target.value}`); + qrcode.makeCode(`OPENPGP4FPR:${evt.target.value.toUpperCase}`); } else { qrcode.clear(); }