mirror of https://github.com/M66B/FairEmail.git
Quote dots in addresses
This commit is contained in:
parent
d664399ac5
commit
0a24bf0c17
|
@ -1304,7 +1304,8 @@ public class MessageHelper {
|
||||||
boolean quote = false;
|
boolean quote = false;
|
||||||
personal = personal.replace("\"", "");
|
personal = personal.replace("\"", "");
|
||||||
for (int c = 0; c < personal.length(); c++)
|
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;
|
quote = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue