Files
containerd/remotes/docker
Derek McGowan 466ee870d5 Check scheme and host of request on push redirect
When the HTTP fallback is used, the scheme changes from HTTPS to HTTP
which can cause a mismatch on redirect, causing the authorizer to get
stripped out. Since the redirect host must match the redirect host in
this case, credentials are only sent to the same origin host that
returned the redirect.

This fixes an issue for a push getting a 401 unauthorized on the PUT
request even though credentials are available.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-10-25 08:47:22 -07:00
..
2023-09-27 13:12:51 -06:00
2019-10-07 13:38:12 -04:00
2023-09-27 13:12:51 -06:00
2022-04-01 18:17:58 -07:00
2022-01-20 15:16:44 +08:00