You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <li>Does not contain newline or carriage-return characters (CRLF injection prevention).</li>
1056
+
* <li>The domain part contains at least one dot (reject single-label domains such as localhost or internal hostnames).</li>
1057
+
* <li>The local part is not a quoted string (i.e. not wrapped in double quotes).</li>
1058
+
* <li>Respect the RFC 5321 length limits: local part ≤ 64 characters, domain ≤ 255 characters, total address ≤ 320 characters.</li>
1055
1059
* </ul><br>
1056
1060
* This is based on the research work from <a href="https://portswigger.net/research/gareth-heyes">Gareth Heyes</a> added in references (Portswigger).<br><br>
1057
1061
*
@@ -1070,7 +1074,7 @@ public static boolean isEmailAddress(String addr) {
0 commit comments