-
numeral-only hostnames are actually legal according to the RFC (hence there was no issue with stringprep rejecting it) however Java's
InetAddress.getAllByName(hostname);
tries to parse it as decimal representation of the IP first instead of doing lookup getAllByName(String host):The host name can either be a machine name, such as "java.sun.com", or a textual representation of its IP address. If a literal IP address is supplied, only the validity of the address format is checked.
I added a check to skip resolving of such hostnames.
Type |
Bug
|
Priority |
Minor
|
Assignee | |
Spent time |
0
|
Issue Votes (0)
Watchers (0)
It looks that for some reason, somewhere
jidInstanceNS
is used which then reaches S2S connection manager