mirror of https://github.com/portainer/portainer
fix(api/registry): encode X-Registry-Auth header using base64url instead of base64 [EE-4726] (#8492)
parent
a7404e00d1
commit
9b287f3020
|
@ -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…
Reference in New Issue