1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/reference
Aaron Lehmann f38610df1f Allow uppercase characters in image reference hostname
This PR makes restores the pre-Docker 1.10 behavior of allowing
uppercase characters in registry hostnames.

Note that this only applies to hostnames, not remote image names.
Previous versions also prohibited uppercase letters after the hostname,
but Docker 1.10 extended this to the hostname itself.

- Vendor updated distribution docker/1.10 branch.

- Add a check to "normalize" that rejects remote names with uppercase
  letters.

- Add test cases to TestTagValidPrefixedRepo and
  TestTagInvalidUnprefixedRepo

Fixes: #20056

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-02-09 17:18:33 -08:00
..
reference.go Allow uppercase characters in image reference hostname 2016-02-09 17:18:33 -08:00
reference_test.go Update Named reference with validation of conversions 2015-12-16 11:58:52 -08:00
store.go Clean up reference type switches 2015-12-16 11:58:53 -08:00
store_test.go