Skip to content

Support hostname with _ in name #280

@piotrwielgolaski-tomtom

Description

@piotrwielgolaski-tomtom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions