mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
fix(api/registry): encode X-Registry-Auth header using base64url instead of base64 [EE-4726] (#8492)
This commit is contained in:
parent
a7404e00d1
commit
9b287f3020
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue