mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Quote dots in addresses
This commit is contained in:
parent
d664399ac5
commit
0a24bf0c17
1 changed files with 2 additions and 1 deletions
|
@ -1304,7 +1304,8 @@ public class MessageHelper {
|
|||
boolean quote = false;
|
||||
personal = personal.replace("\"", "");
|
||||
for (int c = 0; c < personal.length(); c++)
|
||||
if ("()<>,;:\\\"[]@".indexOf(personal.charAt(c)) >= 0) {
|
||||
// https://tools.ietf.org/html/rfc822
|
||||
if ("()<>@,;:\\\".[]".indexOf(personal.charAt(c)) >= 0) {
|
||||
quote = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue