Skip to content

Commit

Permalink
patch: fix bad base64 encoding (missing padding)
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink authored Jun 14, 2024
1 parent 1828fde commit 5ebf196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/metadata/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (c *MetadataProvider) Decorate(headers http.Header) error {
return fmt.Errorf("error marshaling convey header: %w", err)
}

headers.Set(HeaderName, base64.RawStdEncoding.EncodeToString(headerBytes))
headers.Set(HeaderName, base64.StdEncoding.EncodeToString(headerBytes))

return nil
}
Expand Down

0 comments on commit 5ebf196

Please sign in to comment.