1
0
mirror of https://github.com/distribution/distribution synced 2025-02-17 20:39:35 +01:00
distribution/registry/api/v2
Matt Moore 20c4b7a180 Allow hostname components in component names.
Fixes https://github.com/docker/distribution/issues/1062

This relaxes the naming restrictions places on Docker images to permit
valid hostnames according to [RFC-2396](https://www.ietf.org/rfc/rfc2396.txt).

It deviates from the RFC in the following ways:
 1) Allow underscores where we allow hyphens (hostnames don't allow
 underscores, which we must for backwards compatibility).
 2) Leave "top-level" name segments unrestricted (domains require an
 alpha character to begin a top-level domain, e.g. "com").
 3) DO NOT allow a trailing dot, as permitted by FQDNs.

Signed-off-by: Matt Moore <mattmoor@google.com>
2015-10-08 16:51:47 -07:00
..
descriptors.go Merge pull request #744 from aaronlehmann/manifest-put-response-code 2015-07-28 10:42:54 -07:00
doc.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
errors.go Move challenge http status code logic 2015-06-17 18:23:55 -07:00
names_test.go Allow hostname components in component names. 2015-10-08 16:51:47 -07:00
names.go Allow hostname components in component names. 2015-10-08 16:51:47 -07:00
routes_test.go Add additional test coverage for the regexp contained in RepositoryNameRegexp 2015-07-21 17:10:36 -07:00
routes.go Catalog for V2 API Implementation 2015-07-21 21:45:14 -07:00
urls_test.go Updated urlbuilder X-Forwarded-Host logic 2015-04-24 14:16:49 -07:00
urls.go Catalog for V2 API Implementation 2015-07-21 21:45:14 -07:00