diff options
author | Sascha Grunert <sgrunert@redhat.com> | 2021-09-03 09:42:27 +0200 |
---|---|---|
committer | Sascha Grunert <sgrunert@redhat.com> | 2021-09-09 09:17:22 +0200 |
commit | bbdaf837b190fc7b941c5b1d49404bc610ab70fc (patch) | |
tree | 91c1e7ba6ea0f386f4c0f7759fe257e85269e87a /pkg/domain/infra/tunnel/generate.go | |
parent | 858d3e47c26788e64083842cc6617b666f4279a1 (diff) | |
download | podman-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/domain/infra/tunnel/generate.go')
0 files changed, 0 insertions, 0 deletions