distribution/reference
Antonio Ojea 53a6f7d7aa registry: support ipv6 addresses
Current registry reference use a subset of dns and IPv4 addresses to
represent a registry domain.

Since registries are mostly compatible with rfc3986, that defines the
URI generic syntax, this adds support for IPv6 enclosed in squared
brackets based on the mentioned rfc.

The regexp is only expanded to match on IPv6 addreses enclosed between
square brackets, considering only regular IPv6 addresses represented
as compressed or uncompressed, excluding special IPv6 address
representations.

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2022-06-27 09:54:37 +02:00
..
fuzz.go Fuzzing: Add 3 fuzzers 2021-11-29 20:59:28 +00:00
helpers.go Merge pull request #2143 from dmcgowan/reference-familiar-match 2017-01-13 18:32:33 -08:00
normalize.go Merge pull request #2979 from avtakkar/avtakkar/fix-domain-split 2021-03-01 09:35:14 -08:00
normalize_test.go registry: support ipv6 addresses 2022-06-27 09:54:37 +02:00
reference.go registry: support ipv6 addresses 2022-06-27 09:54:37 +02:00
reference_test.go registry: support ipv6 addresses 2022-06-27 09:54:37 +02:00
regexp.go registry: support ipv6 addresses 2022-06-27 09:54:37 +02:00
regexp_test.go registry: support ipv6 addresses 2022-06-27 09:54:37 +02:00