r2dbc / r2dbc-spi

Service Provider Interface for R2DBC Implementations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support hostname with _ in name

piotrwielgolaski-tomtom opened this issue · comments

Bug Report

I spotted the same issue that was described here https://www.chrissearle.org/2022/02/22/r2dbc-postgresql-invalid-ipv6-address-when-dockerized/
When using docker host alias with _ host and port are incorrectly parsed.

Versions

  • Driver: 1.0.0
  • Database: not relevant
  • Java: 11
  • OS: macOS

Current Behavior

Host is incorrect parsed. Host contains port instead keeping port in port variable.

Stack trace
// your stack trace here

Table schema

Input Code
-- your SQL here;

Steps to reproduce

Input Code
// your code here;

Expected behavior/code

Possible Solution

Additional context