IPv6 hosts are not supported
tedpearson opened this issue · 1 comments
tedpearson commented
The InfluxDBClientOptions.ParsedUrl constructor strips the square brackets off IPv6 addresses, rendering urls containing them invalid. E.g. http://[2001:db8:3333:4444:5555:6666:7777:8888]:8086/
becomes http://2001:db8:3333:4444:5555:6666:7777:8888:8086/
.
See how okhttp3 HttpUrl.Builder.toString() handles IPv6 addresses.
bednar commented
Hi @tedpearson,
thanks for using our client.
Is this something you would be willing to help with? All PR is welcome and we will be happy to review your submission.
Regards