summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/generate.go
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@redhat.com>2021-09-03 09:42:27 +0200
committerSascha Grunert <sgrunert@redhat.com>2021-09-09 09:17:22 +0200
commitbbdaf837b190fc7b941c5b1d49404bc610ab70fc (patch)
tree91c1e7ba6ea0f386f4c0f7759fe257e85269e87a /pkg/api/handlers/libpod/generate.go
parent858d3e47c26788e64083842cc6617b666f4279a1 (diff)
downloadpodman-bbdaf837b190fc7b941c5b1d49404bc610ab70fc.tar.gz
podman-bbdaf837b190fc7b941c5b1d49404bc610ab70fc.tar.bz2
podman-bbdaf837b190fc7b941c5b1d49404bc610ab70fc.zip
Normalize auth key before calling `SetAuthentication`
Recent changes in c/image caused the `SetAuthentication` API to be more restrictive in terms of validating the `key` (`server`) input. To ensure that manually modified or entries in `~/.docker/config.json` still work, we now strip the leading `http[s]://` prefix. Fixes https://github.com/containers/podman/issues/11235 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod/generate.go')
0 files changed, 0 insertions, 0 deletions