Skip to content

GCE_METADATA_HOST env does not work with IPv6 addresses #2591

@marqc

Description

@marqc

Steps to reproduce

  1. Set custom GCE_METADATA_HOST env variable to IPv6 address, i.e. ::1
  2. Observe application is trying to call invalid URL http://::1 instead of expected http://[::1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions