From a86c5ba63997c22053ab26d8edbe46d466a0fcd9 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 23 Feb 2023 18:43:27 +0100 Subject: [PATCH] bugfix: unicode mailto: addresses --- dev/Common/UtilsUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Common/UtilsUser.js b/dev/Common/UtilsUser.js index ad7bba859..407d081c6 100644 --- a/dev/Common/UtilsUser.js +++ b/dev/Common/UtilsUser.js @@ -155,7 +155,7 @@ mailToHelper = mailToUrl => { mailToUrl = mailToUrl.slice(7).split('?'); const - email = mailToUrl[0], + email = decodeURIComponent(mailToUrl[0]), params = new URLSearchParams(mailToUrl[1]), to = params.get('to'), toEmailModel = value => EmailCollectionModel.fromString(value);