mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 12:32:40 +08:00
bugfix: unicode mailto: addresses
This commit is contained in:
parent
d92f25973b
commit
a86c5ba639
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue