We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c826aa0 commit ca13d70Copy full SHA for ca13d70
1 file changed
org.restlet.java/org.restlet/src/main/java/org/restlet/data/Reference.java
@@ -2948,6 +2948,9 @@ private void validateIpV6(String ipV6) {
2948
}
2949
2950
2951
+ /**
2952
+ * Validate a segment of an IP V6 according to RFC 2373.
2953
+ */
2954
private void validateIpV6Part(final String part, final int doubleColonCount) {
2955
if (part.isEmpty() && doubleColonCount == 0) {
2956
throw new IllegalArgumentException("Invalid IPv6 address format");
0 commit comments