diff --git a/internal/settings/providers/ovh/headers.go b/internal/settings/providers/ovh/headers.go index 53a0764f..2ba37cfa 100644 --- a/internal/settings/providers/ovh/headers.go +++ b/internal/settings/providers/ovh/headers.go @@ -20,8 +20,8 @@ func (p *Provider) setHeaderAuth(header http.Header, timestamp int64, header.Add("X-Ovh-Consumer", p.consumerKey) sha1Sum := sha1.Sum([]byte( - p.appSecret + "+" + p.consumerKey + "+" + httpMethod + "+" + - url.String() + "+" + string(body) + "+" + strconv.Itoa(int(timestamp)), + p.appSecret + "+" + p.consumerKey + "+" + httpMethod + "+" + p.apiURL.String() + "+" + + url.Path + "+" + string(body) + "+" + strconv.Itoa(int(timestamp)), )) header.Add("X-Ovh-Signature", fmt.Sprintf("$1$%x", sha1Sum))