Skip to content

check_curl: Invalid URL format if used with IPv6 #1808

@RincewindsHat

Description

@RincewindsHat

So I tried something like ./check_curl '-I' '::1' (or ./check_curl '-H' '::1' and it breaks before even connecting due to the invalid URL format RFC3986. This is saved in the url variable and generated from server_address ( link ).

If given an IPv6 address, this address must be surround by square brackets ([]).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions