flora-server icon indicating copy to clipboard operation
flora-server copied to clipboard

Ensure that email addresses of users are normalised to unicode

Open tchoutri opened this issue 1 month ago • 0 comments

Chrome sends IDNs converted to punycode, but we don't normalise those in the backend, which means that the database may be able to accept two user accounts with the same email address, once in punycode and once in unicode.

Since this conversion step is losseless it's not a problem. Email gateways however will (a lot of times) prefer punycode.

tchoutri avatar Jul 03 '24 12:07 tchoutri