We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c34181f + 01428ec commit 5fde9a5Copy full SHA for 5fde9a5
1 file changed
remotes/docker/fetcher.go
@@ -60,6 +60,10 @@ func (r dockerFetcher) Fetch(ctx context.Context, desc ocispec.Descriptor) (io.R
60
log.G(ctx).WithError(err).Debug("failed to parse")
61
continue
62
}
63
+ if u.Scheme != "http" && u.Scheme != "https" {
64
+ log.G(ctx).Debug("non-http(s) alternative url is unsupported")
65
+ continue
66
+ }
67
log.G(ctx).Debug("trying alternative url")
68
69
// Try this first, parse it
0 commit comments