Allow empty route addresses

This commit is contained in:
M66B
2024-02-05 07:58:20 +01:00
parent 3962eb36e1
commit 02cf9ea6d3

View File

@@ -1093,6 +1093,10 @@ public class InternetAddress extends Address implements Cloneable {
throw new AddressException("Nested group", s, index);
if (start == -1)
start = index;
if (index + 1 < length) {
char nc = s.charAt(index + 1);
in_group = (nc == ';');
}
if (true) break;
if (parseHdr && !strict) {
/*