fix(api/registry): encode X-Registry-Auth header using base64url instead of base64 [EE-4726] (#8492)

pull/8841/head
LP B 2 years ago committed by GitHub
parent a7404e00d1
commit 9b287f3020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -471,7 +471,7 @@ func (transport *Transport) decorateRegistryAuthenticationHeader(request *http.R
return err
}
header := base64.StdEncoding.EncodeToString(headerData)
header := base64.URLEncoding.EncodeToString(headerData)
request.Header.Set("X-Registry-Auth", header)
}

Loading…
Cancel
Save