mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Email addresses should not contain <>
This commit is contained in:
@@ -236,7 +236,7 @@ public class Helper {
|
||||
static final String REGEX_UUID = "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}";
|
||||
|
||||
static final Pattern EMAIL_ADDRESS = Pattern.compile(
|
||||
"[\\S&&[^\"@]]{1,256}" +
|
||||
"[\\S&&[^\"@<>]]{1,256}" +
|
||||
"\\@" +
|
||||
"[\\p{L}0-9][\\p{L}0-9\\-\\_]{0,64}" +
|
||||
"(" +
|
||||
|
||||
Reference in New Issue
Block a user