Skip to content

Commit

Permalink
Fix missing '[ ]' when convert IPv6 address to URI.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Sep 24, 2024
1 parent 0f936f2 commit 6f3b564
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ protected static String toUriHostName(InetSocketAddress socketAddr) {
host = hostAddress + separator + scope;
}
}
host = '[' + host + ']';
}
return host;
}
Expand Down

0 comments on commit 6f3b564

Please sign in to comment.