forked from TrueCloudLab/distribution
63af81b883
When requesting a token, the basic auth header is always being set even if there is no username value. This patch corrects this and does not set the basic auth header if the username is empty. Also fixes an issue where pulling all tags from a v2 registry succeeds when the image does not actually exist on the registry. Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn) |
||
---|---|---|
.. | ||
v2 | ||
auth.go | ||
auth_test.go | ||
authchallenge.go | ||
config.go | ||
config_test.go | ||
endpoint.go | ||
endpoint_test.go | ||
httpfactory.go | ||
MAINTAINERS | ||
registry.go | ||
registry_mock_test.go | ||
registry_test.go | ||
service.go | ||
session.go | ||
session_v2.go | ||
token.go | ||
types.go |