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
{{ message }}
Repository navigation
The host check of the socket transport accepts 999.1.1.1 #1948
isHost takes an IP address or anything the HOST_NAME regex matches, and the regex matches 999.1.1.1, 256.0.0.1 and 1.2.3 as host names.
Guava's InternetDomainName.isValid, next to the InetAddresses already used, would replace the regex: it refuses a name whose last label starts with a digit, and accepts localhost, my_host.local and a trailing dot. java.net.URI would refuse 999.1.1.1 too, but also host names with an underscore, such as Docker container names, so I wouldn't use it here.
Activity
fix: reject a mistyped IP address such as 999.1.1.1 as the host of a …
fix: socket transport errors and checks for 0.30.0 (redhat-developer#…